940246 divided by 6 
The aim is to understand the frequency of 6 in 940246.

Step 1:
The number 6 fits into 9 1 times, leaving a remainder of 3.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 6 from 9, we get 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 6

Moving on to step 2:
6 goes into 34 5 times with a remainder of 4.
Write down 5 as next digit of the result. 
Result so far: 15.0
If we subtract 30 from 34, we get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 6

On to step 3:
If we divide 40 by 6, we get 6 and a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 156.0
If we take 36 away from 40, we end up with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 6

On to step 4:
6 can be fit into 42 7 times, resulting in a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 1567.0
Deduct 42 from 42 and we're left with 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 6

On to step 5:
6 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 15670.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (6) of the dividend behind the 4 and repeat the process: 46 / 6

On to step 6:
When dividing 46 by 6, we get 7 with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 156707.0
Subtracting 42 from 46 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.

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: 156707.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.
The next digit of our result is 6. 
Result so far: 156707.66
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.

Our division results in 156707.66 with a remaining 0.004.