We divide 227427 by 6
The aim is to understand the frequency of 6 in 227427.

On to step 1:
2 divided by 6 is 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 6

Going ahead to step 2:
When dividing 22 by 6, we get 3 with a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 18 from 22 and we're left with 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 6

Step 3:
6 can be fit into 47 7 times, resulting in a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
Subtracting 42 from 47 leaves us with 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 6

Let's proceed to step 4:
6 goes into 54 9 times with a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 379.0
Subtracting 54 from 54 leaves us with 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 6

Advancing to step 5:
6 can be fit into 2 0 times, resulting in a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 3790.0
Deduct 0 from 2 and we're left with 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 6

Let's proceed to step 6:
If we divide 27 by 6, we get 4 and a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 37904.0
Subtract 24 from 27 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
The number 6 fits into 30 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 37904.5
Subtracting 30 from 30 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
If we divide 0 by 6, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 37904.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
The number 6 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 37904.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 37904.5, with a leftover of 0.0.