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

On to step 1:
If we divide 6 by 8, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 8

On to step 2:
8 goes into 67 8 times with a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 8.0
Deduct 64 from 67 and we're left with 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 8

Let's proceed to step 3:
When dividing 30 by 8, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 83.0
The remainder is 6 after subtracting 24 from 30.
Bring next digit (9) of the dividend behind the 6 and repeat the process: 69 / 8

Going ahead to step 4:
8 can be fit into 69 8 times, resulting in a remainder of 5.
Use 8 as the next digit of our solution. 
Result so far: 838.0
Deduct 64 from 69 and we're left with 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 8

On to step 5:
The number 8 fits into 57 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 8387.0
If we take 56 away from 57, we end up with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 8

Step 6:
8 can be fit into 14 1 times, resulting in a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 83871.0
Subtract 8 from 14 to 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.

Let's proceed to step 7:
When dividing 60 by 8, we get 7 with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 83871.7
Deduct 56 from 60 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.

Step 8:
If we divide 40 by 8, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 83871.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.

Advancing to step 9:
8 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 83871.75
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.

Advancing to step 10:
8 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 83871.75
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 83871.75, with a leftover of 0.0.