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

On to step 1:
If we divide 9 by 8, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we take 8 away from 9, we end up with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 8

Moving on to step 2:
The number 8 fits into 14 1 times, leaving a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 11.0
If we take 8 away from 14, we end up with 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 8

On to step 3:
8 can be fit into 68 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 118.0
Subtract 64 from 68 to get 4.
Append the next digit (3) from the dividend to 4 and continue with: 43 / 8

Moving on to step 4:
8 goes into 43 5 times with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 1185.0
If we take 40 away from 43, we end up with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 8

Advancing to step 5:
If we divide 37 by 8, we get 4 and a remainder of 5.
Write down 4 as next digit of the result. 
Result so far: 11854.0
The remainder is 5 after subtracting 32 from 37.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 8

On to step 6:
When dividing 50 by 8, we get 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 118546.0
Subtract 48 from 50 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
20 divided by 8 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 118546.2
If we subtract 16 from 20, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 118546.25
Deduct 40 from 40 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 9:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 118546.25
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.

On to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 118546.25
The remainder is 0 after subtracting 0 from 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 quotient of the division is 118546.25, and the remainder is 0.0.