We're dividing 765866 by 6 
The aim is to understand the frequency of 6 in 765866.

Let's proceed to step 1:
6 goes into 7 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 6 from 7 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 6

Let's proceed to step 2:
The number 6 fits into 16 2 times, leaving a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we take 12 away from 16, we end up with 4.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 6

Going ahead to step 3:
6 goes into 45 7 times with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 127.0
Subtracting 42 from 45 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 6

Advancing to step 4:
6 can be fit into 38 6 times, resulting in a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 1276.0
Deduct 36 from 38 and we're left with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 6

Step 5:
When dividing 26 by 6, we get 4 with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 12764.0
If we subtract 24 from 26, we get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 6

Going ahead to step 6:
If we divide 26 by 6, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 127644.0
If we take 24 away from 26, we end up 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.

Let's proceed to step 7:
The number 6 fits into 20 3 times, leaving a remainder of 2.
The next digit of our result is 3. 
Result so far: 127644.3
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.

On to step 8:
If we divide 20 by 6, we get 3 and a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 127644.33
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 127644.33 and a remainder of 0.002.