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

On to step 1:
The number 22 fits into 2 0 times, leaving a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 22

Step 2:
The number 22 fits into 25 1 times, leaving a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 3 after subtracting 22 from 25.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 22

Advancing to step 3:
If we divide 37 by 22, we get 1 and a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
The remainder is 15 after subtracting 22 from 37.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 22

Step 4:
If we divide 159 by 22, we get 7 and a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 117.0
The remainder is 5 after subtracting 154 from 159.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 22

Let's proceed to step 5:
If we divide 54 by 22, we get 2 and a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 1172.0
The remainder is 10 after subtracting 44 from 54.
Take the next digit (0) from the dividend and append it to 10, then repeat: 100 / 22

Let's proceed to step 6:
When dividing 100 by 22, we get 4 with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 11724.0
Subtracting 88 from 100 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 7:
If we divide 120 by 22, we get 5 and a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 11724.5
Subtract 110 from 120 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
22 goes into 100 4 times with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 11724.54
If we subtract 88 from 100, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

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

On to step 10:
22 goes into 100 4 times with a remainder of 12.
The next digit of our result is 4. 
Result so far: 11724.5454
Subtracting 88 from 100 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 11:
120 divided by 22 is 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 11724.54545
If we subtract 110 from 120, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 12:
100 divided by 22 is 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 11724.545454
The remainder is 12 after subtracting 88 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
If we divide 120 by 22, we get 5 and a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 11724.5454545
Deduct 110 from 120 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
The number 22 fits into 100 4 times, leaving a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 11724.54545454
If we subtract 88 from 100, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 11724.54545454 with a remaining 1.2e-08.