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

Going ahead to step 1:
The number 22 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 22

Going ahead to step 2:
The number 22 fits into 38 1 times, leaving a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 16 after subtracting 22 from 38.
Bring next digit (7) of the dividend behind the 16 and repeat the process: 167 / 22

On to step 3:
When dividing 167 by 22, we get 7 with a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtracting 154 from 167 leaves us with 13.
Append the next digit (5) from the dividend to 13 and continue with: 135 / 22

Step 4:
22 goes into 135 6 times with a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 176.0
Deduct 132 from 135 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 22

Going ahead to step 5:
22 goes into 31 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1761.0
The remainder is 9 after subtracting 22 from 31.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 22

Advancing to step 6:
22 can be fit into 98 4 times, resulting in a remainder of 10.
Record the quotient 4 as the next digit in the result. 
Result so far: 17614.0
If we take 88 away from 98, 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.

Step 7:
22 goes into 100 4 times with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 17614.4
If we take 88 away from 100, we end up 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.

Advancing to step 8:
22 goes into 120 5 times with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 17614.45
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.

Let's proceed to step 9:
If we divide 100 by 22, we get 4 and a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 17614.454
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.

Let's proceed to step 10:
The number 22 fits into 120 5 times, leaving a remainder of 10.
The next digit of our result is 5. 
Result so far: 17614.4545
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 11:
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: 17614.45454
If we take 88 away from 100, we end up 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.

Going ahead to step 12:
When dividing 120 by 22, we get 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 17614.454545
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.

Moving on to step 13:
The number 22 fits into 100 4 times, leaving a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 17614.4545454
Deduct 88 from 100 and we're left 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 14:
22 goes into 120 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 17614.45454545
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.

The quotient of the division is 17614.45454545, and the remainder is 1e-08.