We look at the division of 665470 by 6 
The aim is to understand the frequency of 6 in 665470.

Let's proceed to step 1:
When dividing 6 by 6, we get 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 6 from 6, we get 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 6

Advancing to step 2:
6 goes into 6 1 times with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we subtract 6 from 6, we get 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 6

Advancing to step 3:
When dividing 5 by 6, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 110.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 6

Advancing to step 4:
When dividing 54 by 6, we get 9 with a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 1109.0
If we take 54 away from 54, we end up with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 6

Step 5:
When dividing 7 by 6, we get 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 11091.0
Subtract 6 from 7 to get 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 6

Going ahead to step 6:
When dividing 10 by 6, we get 1 with a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 110911.0
If we take 6 away from 10, 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.

On to step 7:
6 goes into 40 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 110911.6
Deduct 36 from 40 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.

Moving on to step 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 110911.66
Subtract 36 from 40 to 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.

The final outcome is 110911.66, with a leftover of 0.004.