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

Advancing to step 1:
The number 22 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 22

Step 2:
If we divide 86 by 22, we get 3 and a remainder of 20.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 66 from 86 to get 20.
Append the next digit (5) from the dividend to 20 and continue with: 205 / 22

Moving on to step 3:
205 divided by 22 is 9 with a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 39.0
Subtract 198 from 205 to get 7.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 22

Moving on to step 4:
74 divided by 22 is 3 with a remainder of 8.
Use 3 as the next digit of our solution. 
Result so far: 393.0
If we subtract 66 from 74, we get 8.
Bring next digit (9) of the dividend behind the 8 and repeat the process: 89 / 22

Going ahead to step 5:
When dividing 89 by 22, we get 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 3934.0
If we take 88 away from 89, we end up with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 22

On to step 6:
When dividing 13 by 22, we get 0 with a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 39340.0
If we take 0 away from 13, we end up 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.

Let's proceed to step 7:
22 goes into 130 5 times with a remainder of 20.
The next digit of our result is 5. 
Result so far: 39340.5
If we subtract 110 from 130, we 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.

Advancing to step 8:
If we divide 200 by 22, we get 9 and a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 39340.59
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.

Let's proceed to step 9:
When dividing 20 by 22, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 39340.59
If we subtract 0 from 20, we 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 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: 39340.5909
Subtract 198 from 200 to 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.

On to step 11:
When dividing 20 by 22, we get 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 39340.5909
If we take 0 away from 20, we end up 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.
Put 9 as the next digit of the answer. 
Result so far: 39340.590909
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.

Let's proceed to step 13:
20 divided by 22 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 39340.590909
If we subtract 0 from 20, we 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.

Moving on to step 14:
22 can be fit into 200 9 times, resulting in a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 39340.59090909
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.

The final outcome is 39340.59090909, with a leftover of 2e-09.