We're dividing 679742 by 8 
The aim is to understand the frequency of 8 in 679742.

Moving on to step 1:
When dividing 6 by 8, we get 0 with a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 8

Moving on to step 2:
8 goes into 67 8 times with a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
The remainder is 3 after subtracting 64 from 67.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 8

Step 3:
The number 8 fits into 39 4 times, leaving a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 84.0
The remainder is 7 after subtracting 32 from 39.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 8

On to step 4:
The number 8 fits into 77 9 times, leaving a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 849.0
If we subtract 72 from 77, we get 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 8

Advancing to step 5:
If we divide 54 by 8, we get 6 and a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 8496.0
The remainder is 6 after subtracting 48 from 54.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 8

On to step 6:
When dividing 62 by 8, we get 7 with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 84967.0
If we subtract 56 from 62, 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.

On to step 7:
When dividing 60 by 8, we get 7 with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 84967.7
If we take 56 away from 60, we end up 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.

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

Moving on to step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 84967.75
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.

Moving on to step 10:
8 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 84967.75
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.

Our division results in 84967.75 with a remaining 0.0.