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

Moving on to step 1:
9 divided by 22 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 22

Going ahead to step 2:
22 goes into 99 4 times with a remainder of 11.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 88 from 99 leaves us with 11.
Include the next digit (9) from the dividend after 11, then repeat: 119 / 22

Going ahead to step 3:
When dividing 119 by 22, we get 5 with a remainder of 9.
Record the quotient 5 as the next digit in the result. 
Result so far: 45.0
Subtracting 110 from 119 leaves us with 9.
Grab the next digit (2) from the dividend, add it to 9, then carry on: 92 / 22

On to step 4:
22 can be fit into 92 4 times, resulting in a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 454.0
If we subtract 88 from 92, we get 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 22

Advancing to step 5:
22 goes into 41 1 times with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 4541.0
Deduct 22 from 41 and we're left with 19.
Include the next digit (3) from the dividend after 19, then repeat: 193 / 22

Step 6:
When dividing 193 by 22, we get 8 with a remainder of 17.
Write down 8 as next digit of the result. 
Result so far: 45418.0
The remainder is 17 after subtracting 176 from 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 7:
The number 22 fits into 170 7 times, leaving a remainder of 16.
The number 7 becomes the next digit in our result. 
Result so far: 45418.7
Subtracting 154 from 170 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
If we divide 160 by 22, we get 7 and a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 45418.77
Subtract 154 from 160 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

After the division, we end up with 45418.77 and a remainder of 0.006.