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

On to step 1:
2 divided by 22 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 22

Step 2:
22 goes into 24 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 22 from 24 to get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 22

Moving on to step 3:
22 goes into 28 1 times with a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
If we subtract 22 from 28, we get 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 22

Moving on to step 4:
If we divide 65 by 22, we get 2 and a remainder of 21.
Use 2 as the next digit of our solution. 
Result so far: 112.0
If we subtract 44 from 65, we get 21.
Append the next digit (0) from the dividend to 21 and continue with: 210 / 22

On to step 5:
When dividing 210 by 22, we get 9 with a remainder of 12.
Use 9 as the next digit of our solution. 
Result so far: 1129.0
Deduct 198 from 210 and we're left with 12.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 22

Moving on to step 6:
124 divided by 22 is 5 with a remainder of 14.
The number 5 becomes the next digit in our result. 
Result so far: 11295.0
If we take 110 away from 124, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 7:
22 goes into 140 6 times with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 11295.6
The remainder is 8 after subtracting 132 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
The number 22 fits into 80 3 times, leaving a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 11295.63
Subtracting 66 from 80 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 9:
22 goes into 140 6 times with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 11295.636
The remainder is 8 after subtracting 132 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 10:
When dividing 80 by 22, we get 3 with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 11295.6363
Subtracting 66 from 80 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 11:
If we divide 140 by 22, we get 6 and a remainder of 8.
The next digit of our result is 6. 
Result so far: 11295.63636
If we subtract 132 from 140, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 12:
When dividing 80 by 22, we get 3 with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 11295.636363
If we subtract 66 from 80, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

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

Advancing to step 14:
If we divide 80 by 22, we get 3 and a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 11295.63636363
If we take 66 away from 80, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 11295.63636363 and a remainder of 1.4e-08.