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

Advancing to step 1:
The number 22 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 22

Step 2:
22 can be fit into 38 1 times, resulting in a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 22 away from 38, we end up with 16.
Bring next digit (1) of the dividend behind the 16 and repeat the process: 161 / 22

Step 3:
When dividing 161 by 22, we get 7 with a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtract 154 from 161 to get 7.
Grab the next digit (0) from the dividend, add it to 7, then carry on: 70 / 22

Advancing to step 4:
22 goes into 70 3 times with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 173.0
Subtract 66 from 70 to get 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 22

Going ahead to step 5:
22 can be fit into 48 2 times, resulting in a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 1732.0
If we subtract 44 from 48, we get 4.
Bring next digit (6) of the dividend behind the 4 and repeat the process: 46 / 22

Step 6:
22 can be fit into 46 2 times, resulting in a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 17322.0
If we take 44 away from 46, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
When dividing 20 by 22, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 17322.0
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
When dividing 200 by 22, we get 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 17322.09
If we subtract 198 from 200, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
22 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 17322.09
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 10:
200 divided by 22 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 17322.0909
Subtracting 198 from 200 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 11:
The number 22 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 17322.0909
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 12:
If we divide 200 by 22, we get 9 and a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 17322.090909
Deduct 198 from 200 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
22 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 17322.090909
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 14:
200 divided by 22 is 9 with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 17322.09090909
Subtract 198 from 200 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The quotient of the division is 17322.09090909, and the remainder is 2e-09.