40474223 ÷ 222 
The aim is to understand the frequency of 222 in 40474223.

Let's proceed to step 1:
When dividing 4 by 222, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 222

Step 2:
222 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (4) from the dividend, attach it to 40 and continue: 404 / 222

On to step 3:
222 goes into 404 1 times with a remainder of 182.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 222 from 404, we get 182.
Take the next digit (7) from the dividend and append it to 182, then repeat: 1827 / 222

Going ahead to step 4:
The number 222 fits into 1827 8 times, leaving a remainder of 51.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
Subtracting 1776 from 1827 leaves us with 51.
Include the next digit (4) from the dividend after 51, then repeat: 514 / 222

Let's proceed to step 5:
222 can be fit into 514 2 times, resulting in a remainder of 70.
Use 2 as the next digit of our solution. 
Result so far: 182.0
Deduct 444 from 514 and we're left with 70.
Include the next digit (2) from the dividend after 70, then repeat: 702 / 222

On to step 6:
702 divided by 222 is 3 with a remainder of 36.
The number 3 becomes the next digit in our result. 
Result so far: 1823.0
Subtract 666 from 702 to get 36.
Fetch the next digit (2) from the dividend, attach it to 36 and continue: 362 / 222

Going ahead to step 7:
222 goes into 362 1 times with a remainder of 140.
Write down 1 as next digit of the result. 
Result so far: 18231.0
If we subtract 222 from 362, we get 140.
Include the next digit (3) from the dividend after 140, then repeat: 1403 / 222

Step 8:
When dividing 1403 by 222, we get 6 with a remainder of 71.
Write down 6 as next digit of the result. 
Result so far: 182316.0
Deduct 1332 from 1403 and we're left with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 9:
The number 222 fits into 710 3 times, leaving a remainder of 44.
Write down 3 as next digit of the result. 
Result so far: 182316.3
If we take 666 away from 710, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 10:
222 goes into 440 1 times with a remainder of 218.
The number 1 becomes the next digit in our result. 
Result so far: 182316.31
The remainder is 218 after subtracting 222 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Let's proceed to step 11:
The number 222 fits into 2180 9 times, leaving a remainder of 182.
Put 9 as the next digit of the answer. 
Result so far: 182316.319
The remainder is 182 after subtracting 1998 from 2180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

On to step 12:
222 can be fit into 1820 8 times, resulting in a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 182316.3198
The remainder is 44 after subtracting 1776 from 1820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 13:
222 can be fit into 440 1 times, resulting in a remainder of 218.
Put 1 as the next digit of the answer. 
Result so far: 182316.31981
Deduct 222 from 440 and we're left with 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Advancing to step 14:
2180 divided by 222 is 9 with a remainder of 182.
The next digit of our result is 9. 
Result so far: 182316.319819
Subtracting 1998 from 2180 leaves us with 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Let's proceed to step 15:
222 can be fit into 1820 8 times, resulting in a remainder of 44.
Write down 8 as next digit of the result. 
Result so far: 182316.3198198
If we subtract 1776 from 1820, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 16:
The number 222 fits into 440 1 times, leaving a remainder of 218.
The number 1 becomes the next digit in our result. 
Result so far: 182316.31981981
If we subtract 222 from 440, we get 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Our division results in 182316.31981981 with a remaining 2.18e-07.