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

Let's proceed to step 1:
When dividing 3 by 22, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 22

Step 2:
22 goes into 39 1 times with a remainder of 17.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 22 away from 39, we end up with 17.
Fetch the next digit (9) from the dividend, attach it to 17 and continue: 179 / 22

Step 3:
179 divided by 22 is 8 with a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtract 176 from 179 to get 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 22

Moving on to step 4:
When dividing 38 by 22, we get 1 with a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 181.0
The remainder is 16 after subtracting 22 from 38.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 22

Advancing to step 5:
When dividing 167 by 22, we get 7 with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 1817.0
Deduct 154 from 167 and we're left with 13.
Fetch the next digit (3) from the dividend, attach it to 13 and continue: 133 / 22

Step 6:
When dividing 133 by 22, we get 6 with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 18176.0
If we take 132 away from 133, 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.

Going ahead to step 7:
The number 22 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 18176.0
Deduct 0 from 10 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.

Step 8:
The number 22 fits into 100 4 times, leaving a remainder of 12.
The next digit of our result is 4. 
Result so far: 18176.04
Subtract 88 from 100 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 9:
22 goes into 120 5 times with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 18176.045
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.

Let's proceed to step 10:
22 can be fit into 100 4 times, resulting in a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 18176.0454
Subtracting 88 from 100 leaves us 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.

Moving on to step 11:
22 goes into 120 5 times with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 18176.04545
If we subtract 110 from 120, we 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 12:
When dividing 100 by 22, we get 4 with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 18176.045454
If we take 88 away from 100, we end up 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.

Moving on to step 13:
22 can be fit into 120 5 times, resulting in a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 18176.0454545
If we take 110 away from 120, we end up 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.

Moving on to step 14:
22 goes into 100 4 times with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 18176.04545454
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.

After the division, we end up with 18176.04545454 and a remainder of 1.2e-08.