Let's divide 817877 by 6
The aim is to understand the frequency of 6 in 817877.

Step 1:
8 divided by 6 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 6 from 8 and we're left with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 6

Moving on to step 2:
If we divide 21 by 6, we get 3 and a remainder of 3.
The next digit of our result is 3. 
Result so far: 13.0
If we take 18 away from 21, we end up with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 6

Moving on to step 3:
6 goes into 37 6 times with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 136.0
The remainder is 1 after subtracting 36 from 37.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 6

Going ahead to step 4:
18 divided by 6 is 3 with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 1363.0
If we take 18 away from 18, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 6

Step 5:
6 can be fit into 7 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 13631.0
Deduct 6 from 7 and we're left with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 6

Advancing to step 6:
If we divide 17 by 6, we get 2 and a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 136312.0
If we subtract 12 from 17, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
6 goes into 50 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 136312.8
Subtract 48 from 50 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: 136312.83
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 9:
6 can be fit into 20 3 times, resulting in a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 136312.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.

After the division, we end up with 136312.833 and a remainder of 0.0002.