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

Let's proceed to step 1:
When dividing 9 by 8, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 8 from 9, we get 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 8

Going ahead to step 2:
When dividing 19 by 8, we get 2 with a remainder of 3.
The next digit of our result is 2. 
Result so far: 12.0
If we subtract 16 from 19, we get 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 8

On to step 3:
8 can be fit into 35 4 times, resulting in a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 124.0
Subtracting 32 from 35 leaves us with 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 8

Moving on to step 4:
30 divided by 8 is 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 1243.0
The remainder is 6 after subtracting 24 from 30.
Append the next digit (6) from the dividend to 6 and continue with: 66 / 8

Step 5:
If we divide 66 by 8, we get 8 and a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 12438.0
Subtract 64 from 66 to get 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 8

Step 6:
When dividing 28 by 8, we get 3 with a remainder of 4.
The next digit of our result is 3. 
Result so far: 124383.0
Subtract 24 from 28 to get 4.
Bring next digit (4) of the dividend behind the 4 and repeat the process: 44 / 8

On to step 7:
8 goes into 44 5 times with a remainder of 4.
Write down 5 as next digit of the result. 
Result so far: 1243835.0
If we subtract 40 from 44, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 8

Moving on to step 8:
When dividing 40 by 8, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 12438355.0
The remainder is 0 after subtracting 40 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
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: 12438355.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 10:
0 divided by 8 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 12438355.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.

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