We divide 776861 by 6
The aim is to understand the frequency of 6 in 776861.

Advancing to step 1:
If we divide 7 by 6, we get 1 and a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 1 after subtracting 6 from 7.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 6

On to step 2:
6 goes into 17 2 times with a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtracting 12 from 17 leaves us with 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 6

Advancing to step 3:
The number 6 fits into 56 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 129.0
If we take 54 away from 56, we end up with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 6

On to step 4:
The number 6 fits into 28 4 times, leaving a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 1294.0
Subtracting 24 from 28 leaves us with 4.
Append the next digit (6) from the dividend to 4 and continue with: 46 / 6

Moving on to step 5:
The number 6 fits into 46 7 times, leaving a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 12947.0
Subtract 42 from 46 to get 4.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 6

Moving on to step 6:
The number 6 fits into 41 6 times, leaving a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 129476.0
The remainder is 5 after subtracting 36 from 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
The number 6 fits into 50 8 times, leaving a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 129476.8
Deduct 48 from 50 and we're left 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.

Going ahead to step 8:
20 divided by 6 is 3 with a remainder of 2.
The next digit of our result is 3. 
Result so far: 129476.83
Subtracting 18 from 20 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.

Let's proceed to step 9:
20 divided by 6 is 3 with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 129476.833
Deduct 18 from 20 and we're left 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.

Our division results in 129476.833 with a remaining 0.0002.