We divide 427640 by 8
The aim is to understand the frequency of 8 in 427640.

Step 1:
8 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 8

Going ahead to step 2:
The number 8 fits into 42 5 times, leaving a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we subtract 40 from 42, we get 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 8

Moving on to step 3:
27 divided by 8 is 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 53.0
Deduct 24 from 27 and we're left with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 8

Step 4:
If we divide 36 by 8, we get 4 and a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 534.0
Subtract 32 from 36 to get 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 8

Step 5:
If we divide 44 by 8, we get 5 and a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 5345.0
Deduct 40 from 44 and we're left with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 8

On to step 6:
40 divided by 8 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 53455.0
Subtracting 40 from 40 leaves us 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.

Advancing to step 7:
When dividing 0 by 8, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 53455.0
If we subtract 0 from 0, 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.

Step 8:
0 divided by 8 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 53455.0
Subtract 0 from 0 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.

Our division results in 53455.0 with a remaining 0.0.