We divide 387866 by 22
The aim is to understand the frequency of 22 in 387866.

On to step 1:
22 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
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:
22 can be fit into 38 1 times, resulting in a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 22 away from 38, we end up with 16.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 22

Step 3:
22 goes into 167 7 times with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 154 from 167 to get 13.
Bring next digit (8) of the dividend behind the 13 and repeat the process: 138 / 22

Going ahead to step 4:
If we divide 138 by 22, we get 6 and a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 176.0
Subtract 132 from 138 to get 6.
Append the next digit (6) from the dividend to 6 and continue with: 66 / 22

Advancing to step 5:
The number 22 fits into 66 3 times, leaving a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 1763.0
If we subtract 66 from 66, we get 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 22

Let's proceed to step 6:
22 goes into 6 0 times with a remainder of 6.
The next digit of our result is 0. 
Result so far: 17630.0
If we take 0 away from 6, 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.

On to step 7:
If we divide 60 by 22, we get 2 and a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 17630.2
Subtract 44 from 60 to 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.

Moving on to step 8:
When dividing 160 by 22, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 17630.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.

Moving on to step 9:
The number 22 fits into 60 2 times, leaving a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 17630.272
If we take 44 away from 60, we end up 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.

On to step 10:
If we divide 160 by 22, we get 7 and a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 17630.2727
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.

Step 11:
22 goes into 60 2 times with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 17630.27272
Subtract 44 from 60 to 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 12:
If we divide 160 by 22, we get 7 and a remainder of 6.
The next digit of our result is 7. 
Result so far: 17630.272727
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.

Step 13:
When dividing 60 by 22, we get 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 17630.2727272
Subtract 44 from 60 to 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.

Moving on to step 14:
22 goes into 160 7 times with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 17630.27272727
Subtracting 154 from 160 leaves us 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.

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