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

Going ahead to step 1:
When dividing 8 by 6, we get 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 6 from 8, we get 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 6

Advancing to step 2:
26 divided by 6 is 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtract 24 from 26 to get 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 6

Step 3:
The number 6 fits into 25 4 times, leaving a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 144.0
If we subtract 24 from 25, we get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 6

On to step 4:
16 divided by 6 is 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 1442.0
If we subtract 12 from 16, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 6

Step 5:
40 divided by 6 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 14426.0
If we subtract 36 from 40, we get 4.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 6

Advancing to step 6:
If we divide 44 by 6, we get 7 and a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 144267.0
Subtracting 42 from 44 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.

Moving on to step 7:
6 can be fit into 20 3 times, resulting in a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 144267.3
If we subtract 18 from 20, we get 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 8:
6 can be fit into 20 3 times, resulting in a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 144267.33
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 144267.33, with a leftover of 0.002.