474877 ÷ 6 
The aim is to understand the frequency of 6 in 474877.

On to step 1:
6 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 6

Going ahead to step 2:
If we divide 47 by 6, we get 7 and a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
The remainder is 5 after subtracting 42 from 47.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 6

Moving on to step 3:
If we divide 54 by 6, we get 9 and a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 79.0
The remainder is 0 after subtracting 54 from 54.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 6

Advancing to step 4:
If we divide 8 by 6, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 791.0
The remainder is 2 after subtracting 6 from 8.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 6

Going ahead to step 5:
6 can be fit into 27 4 times, resulting in a remainder of 3.
The next digit of our result is 4. 
Result so far: 7914.0
If we subtract 24 from 27, we get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 6

On to step 6:
The number 6 fits into 37 6 times, leaving a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 79146.0
Subtract 36 from 37 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
When dividing 10 by 6, we get 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 79146.1
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.

Going ahead to step 8:
40 divided by 6 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 79146.16
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 9:
6 can be fit into 40 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 79146.166
If we take 36 away from 40, 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.

After the division, we end up with 79146.166 and a remainder of 0.0004.