Let's divide 217850 by 22
The aim is to understand the frequency of 22 in 217850.

On to step 1:
If we divide 2 by 22, we get 0 and a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 22

Going ahead to step 2:
21 divided by 22 is 0 with a remainder of 21.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 21 and we're left with 21.
Grab the next digit (7) from the dividend, add it to 21, then carry on: 217 / 22

On to step 3:
217 divided by 22 is 9 with a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we subtract 198 from 217, we get 19.
Bring next digit (8) of the dividend behind the 19 and repeat the process: 198 / 22

Going ahead to step 4:
198 divided by 22 is 9 with a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 99.0
Subtracting 198 from 198 leaves us with 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 22

Advancing to step 5:
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: 990.0
If we take 0 away from 5, we end up with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 22

Step 6:
If we divide 50 by 22, we get 2 and a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 9902.0
If we subtract 44 from 50, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
60 divided by 22 is 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 9902.2
If we subtract 44 from 60, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
If we divide 160 by 22, we get 7 and a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 9902.27
If we take 154 away from 160, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 9:
22 can be fit into 60 2 times, resulting in a remainder of 16.
The next digit of our result is 2. 
Result so far: 9902.272
The remainder is 16 after subtracting 44 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
22 goes into 160 7 times with a remainder of 6.
The next digit of our result is 7. 
Result so far: 9902.2727
The remainder is 6 after subtracting 154 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 11:
When dividing 60 by 22, we get 2 with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 9902.27272
The remainder is 16 after subtracting 44 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 12:
160 divided by 22 is 7 with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 9902.272727
If we subtract 154 from 160, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 13:
The number 22 fits into 60 2 times, leaving a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 9902.2727272
Subtracting 44 from 60 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 14:
When dividing 160 by 22, we get 7 with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 9902.27272727
Subtract 154 from 160 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 9902.27272727, and the remainder is 6e-09.