We look at the division of 400421 by 22 
The aim is to understand the frequency of 22 in 400421.

Advancing to step 1:
22 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 22

Step 2:
22 goes into 40 1 times with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 22 from 40 and we're left with 18.
Take the next digit (0) from the dividend and append it to 18, then repeat: 180 / 22

Let's proceed to step 3:
22 goes into 180 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 176 from 180 to get 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 22

Advancing to step 4:
The number 22 fits into 44 2 times, leaving a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 182.0
If we subtract 44 from 44, we get 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 22

On to step 5:
2 divided by 22 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 1820.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 22

Going ahead to step 6:
22 goes into 21 0 times with a remainder of 21.
Write down 0 as next digit of the result. 
Result so far: 18200.0
Deduct 0 from 21 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 7:
If we divide 210 by 22, we get 9 and a remainder of 12.
Use 9 as the next digit of our solution. 
Result so far: 18200.9
Subtract 198 from 210 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 8:
The number 22 fits into 120 5 times, leaving a remainder of 10.
The next digit of our result is 5. 
Result so far: 18200.95
Subtract 110 from 120 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
22 goes into 100 4 times with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 18200.954
If we subtract 88 from 100, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 10:
22 can be fit into 120 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 18200.9545
Subtracting 110 from 120 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 11:
The number 22 fits into 100 4 times, leaving a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 18200.95454
If we subtract 88 from 100, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 12:
22 goes into 120 5 times with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 18200.954545
The remainder is 10 after subtracting 110 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 13:
22 can be fit into 100 4 times, resulting in a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 18200.9545454
Deduct 88 from 100 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 14:
22 can be fit into 120 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 18200.95454545
Deduct 110 from 120 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 18200.95454545, and the remainder is 1e-08.