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

Step 1:
22 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 22

Step 2:
50 divided by 22 is 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 44 from 50 leaves us with 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 22

Advancing to step 3:
The number 22 fits into 63 2 times, leaving a remainder of 19.
The next digit of our result is 2. 
Result so far: 22.0
If we subtract 44 from 63, we get 19.
Fetch the next digit (3) from the dividend, attach it to 19 and continue: 193 / 22

On to step 4:
22 goes into 193 8 times with a remainder of 17.
Record the quotient 8 as the next digit in the result. 
Result so far: 228.0
Subtract 176 from 193 to get 17.
Include the next digit (0) from the dividend after 17, then repeat: 170 / 22

Going ahead to step 5:
22 goes into 170 7 times with a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 2287.0
If we take 154 away from 170, we end up with 16.
Bring next digit (7) of the dividend behind the 16 and repeat the process: 167 / 22

On to step 6:
22 can be fit into 167 7 times, resulting in a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 22877.0
Deduct 154 from 167 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 7:
22 can be fit into 130 5 times, resulting in a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 22877.5
The remainder is 20 after subtracting 110 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
If we divide 200 by 22, we get 9 and a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 22877.59
Subtracting 198 from 200 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
22 can be fit into 20 0 times, resulting in a remainder of 20.
The next digit of our result is 0. 
Result so far: 22877.59
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 10:
When dividing 200 by 22, we get 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 22877.5909
If we take 198 away from 200, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 11:
22 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 22877.5909
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 12:
22 can be fit into 200 9 times, resulting in a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 22877.590909
The remainder is 2 after subtracting 198 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 13:
The number 22 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 22877.590909
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 14:
22 can be fit into 200 9 times, resulting in a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 22877.59090909
If we subtract 198 from 200, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 22877.59090909 with a remainder of 2e-09.