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

Let's proceed to step 1:
6 goes into 9 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 6 from 9 leaves us with 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 6

On to step 2:
30 divided by 6 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 15.0
If we subtract 30 from 30, we get 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 6

Moving on to step 3:
4 divided by 6 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 150.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 6

Advancing to step 4:
When dividing 42 by 6, we get 7 with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 1507.0
The remainder is 0 after subtracting 42 from 42.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 6

Moving on to step 5:
If we divide 1 by 6, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 15070.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 6

Step 6:
16 divided by 6 is 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 150702.0
If we take 12 away from 16, 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.

Moving on to step 7:
6 goes into 40 6 times with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 150702.6
Subtracting 36 from 40 leaves us 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:
When dividing 40 by 6, we get 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 150702.66
If we subtract 36 from 40, we get 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 150702.66 and a remainder of 0.004.