We're dividing 509267 by 22 
The aim is to understand the frequency of 22 in 509267.

Step 1:
The number 22 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 22

On to step 2:
22 can be fit into 50 2 times, resulting in a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 44 from 50, we get 6.
Grab the next digit (9) from the dividend, add it to 6, then carry on: 69 / 22

Going ahead to step 3:
22 can be fit into 69 3 times, resulting in a remainder of 3.
The next digit of our result is 3. 
Result so far: 23.0
Subtracting 66 from 69 leaves us with 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 22

Going ahead to step 4:
When dividing 32 by 22, we get 1 with a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 231.0
If we take 22 away from 32, we end up with 10.
Fetch the next digit (6) from the dividend, attach it to 10 and continue: 106 / 22

On to step 5:
If we divide 106 by 22, we get 4 and a remainder of 18.
Use 4 as the next digit of our solution. 
Result so far: 2314.0
If we take 88 away from 106, we end up with 18.
Bring next digit (7) of the dividend behind the 18 and repeat the process: 187 / 22

Advancing to step 6:
When dividing 187 by 22, we get 8 with a remainder of 11.
The next digit of our result is 8. 
Result so far: 23148.0
If we take 176 away from 187, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
22 goes into 110 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 23148.5
If we subtract 110 from 110, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
The number 22 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 23148.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
0 divided by 22 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 23148.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 23148.5 with a remaining 0.0.