Let's divide 308176 by 8
The aim is to understand the frequency of 8 in 308176.

Moving on to step 1:
3 divided by 8 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 8

On to step 2:
If we divide 30 by 8, we get 3 and a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 24 from 30, we get 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 8

Moving on to step 3:
When dividing 68 by 8, we get 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 38.0
The remainder is 4 after subtracting 64 from 68.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 8

Step 4:
If we divide 41 by 8, we get 5 and a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 385.0
Subtract 40 from 41 to get 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 8

On to step 5:
8 can be fit into 17 2 times, resulting in a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 3852.0
Deduct 16 from 17 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 8

On to step 6:
16 divided by 8 is 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 38522.0
Subtract 16 from 16 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
0 divided by 8 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 38522.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 38522.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 38522.0 and a remainder of 0.0.