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

Advancing to step 1:
When dividing 5 by 22, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 22

Advancing to step 2:
22 goes into 50 2 times with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 44 from 50 and we're left with 6.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 22

Moving on to step 3:
22 can be fit into 61 2 times, resulting in a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
If we subtract 44 from 61, we get 17.
Fetch the next digit (8) from the dividend, attach it to 17 and continue: 178 / 22

Moving on to step 4:
The number 22 fits into 178 8 times, leaving a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 228.0
If we take 176 away from 178, we end up with 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 22

On to step 5:
22 can be fit into 28 1 times, resulting in a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 2281.0
If we take 22 away from 28, we end up with 6.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 22

Let's proceed to step 6:
The number 22 fits into 69 3 times, leaving a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 22813.0
If we take 66 away from 69, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
If we divide 30 by 22, we get 1 and a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 22813.1
Subtract 22 from 30 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
22 can be fit into 80 3 times, resulting in a remainder of 14.
The next digit of our result is 3. 
Result so far: 22813.13
Subtracting 66 from 80 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 9:
The number 22 fits into 140 6 times, leaving a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 22813.136
If we subtract 132 from 140, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 10:
If we divide 80 by 22, we get 3 and a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 22813.1363
The remainder is 14 after subtracting 66 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 11:
22 goes into 140 6 times with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 22813.13636
If we take 132 away from 140, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
22 goes into 80 3 times with a remainder of 14.
The number 3 becomes the next digit in our result. 
Result so far: 22813.136363
Subtract 66 from 80 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 13:
When dividing 140 by 22, we get 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 22813.1363636
Subtract 132 from 140 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 14:
When dividing 80 by 22, we get 3 with a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 22813.13636363
The remainder is 14 after subtracting 66 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 22813.13636363, with a leftover of 1.4e-08.