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

Going ahead to step 1:
When dividing 2 by 6, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 6

Step 2:
6 can be fit into 22 3 times, resulting in a remainder of 4.
The next digit of our result is 3. 
Result so far: 3.0
The remainder is 4 after subtracting 18 from 22.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 6

Advancing to step 3:
If we divide 41 by 6, we get 6 and a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 36.0
The remainder is 5 after subtracting 36 from 41.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 6

Step 4:
The number 6 fits into 51 8 times, leaving a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 368.0
Deduct 48 from 51 and we're left with 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 6

Step 5:
If we divide 30 by 6, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 3685.0
Subtract 30 from 30 to get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 6

Step 6:
The number 6 fits into 7 1 times, leaving a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 36851.0
If we take 6 away from 7, we end up with 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:
6 can be fit into 10 1 times, resulting in a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 36851.1
Subtracting 6 from 10 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.

Let's proceed to step 8:
6 goes into 40 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 36851.16
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.

Moving on to step 9:
40 divided by 6 is 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 36851.166
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.

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