We look at the division of 303477 by 8 
The aim is to understand the frequency of 8 in 303477.

Advancing to step 1:
8 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 8

On to step 2:
30 divided by 8 is 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 24 from 30 leaves us with 6.
Take the next digit (3) from the dividend and append it to 6, then repeat: 63 / 8

Step 3:
If we divide 63 by 8, we get 7 and a remainder of 7.
The next digit of our result is 7. 
Result so far: 37.0
Subtract 56 from 63 to get 7.
Include the next digit (4) from the dividend after 7, then repeat: 74 / 8

Advancing to step 4:
74 divided by 8 is 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 379.0
Deduct 72 from 74 and we're left with 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 8

Moving on to step 5:
If we divide 27 by 8, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 3793.0
If we subtract 24 from 27, we get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 8

On to step 6:
When dividing 37 by 8, we get 4 with a remainder of 5.
The next digit of our result is 4. 
Result so far: 37934.0
Subtracting 32 from 37 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
If we divide 50 by 8, we get 6 and a remainder of 2.
The next digit of our result is 6. 
Result so far: 37934.6
Deduct 48 from 50 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
8 can be fit into 20 2 times, resulting in a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 37934.62
Deduct 16 from 20 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 37934.625
If we subtract 40 from 40, we 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.

On to step 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 37934.625
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.

Going ahead to step 11:
When dividing 0 by 8, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 37934.625
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.

The final outcome is 37934.625, with a leftover of 0.0.