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

Going ahead to step 1:
8 can be fit into 7 0 times, resulting in a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 8

Let's proceed to step 2:
8 goes into 78 9 times with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 9.0
The remainder is 6 after subtracting 72 from 78.
Bring next digit (6) of the dividend behind the 6 and repeat the process: 66 / 8

Advancing to step 3:
The number 8 fits into 66 8 times, leaving a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 98.0
The remainder is 2 after subtracting 64 from 66.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 8

Going ahead to step 4:
8 goes into 24 3 times with a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 983.0
Subtract 24 from 24 to get 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 8

Moving on to step 5:
5 divided by 8 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 9830.0
If we subtract 0 from 5, we get 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 8

Let's proceed to step 6:
59 divided by 8 is 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 98307.0
Subtracting 56 from 59 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
30 divided by 8 is 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 98307.3
If we subtract 24 from 30, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
60 divided by 8 is 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 98307.37
If we subtract 56 from 60, 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.

On to step 9:
When dividing 40 by 8, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 98307.375
If we take 40 away from 40, 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.

Advancing to step 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 98307.375
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.

Going ahead to step 11:
If we divide 0 by 8, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 98307.375
Subtracting 0 from 0 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.

Our division results in 98307.375 with a remaining 0.0.