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

Let's proceed to step 1:
When dividing 7 by 8, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 8

On to step 2:
If we divide 78 by 8, we get 9 and a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Deduct 72 from 78 and we're left with 6.
Take the next digit (1) from the dividend and append it to 6, then repeat: 61 / 8

Step 3:
When dividing 61 by 8, we get 7 with a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 97.0
If we take 56 away from 61, we end up with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 8

On to step 4:
58 divided by 8 is 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 977.0
Deduct 56 from 58 and we're left with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 8

Going ahead to step 5:
8 can be fit into 21 2 times, resulting in a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 9772.0
If we subtract 16 from 21, we get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 8

Let's proceed to step 6:
If we divide 58 by 8, we get 7 and a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 97727.0
Subtracting 56 from 58 leaves us 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 7:
When dividing 20 by 8, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 97727.2
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.

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

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: 97727.25
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.

Step 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 97727.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 final outcome is 97727.25, with a leftover of 0.0.