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

On to step 1:
22 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 22

Step 2:
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: 1.0
Subtracting 22 from 31 leaves us with 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 22

On to step 3:
22 can be fit into 97 4 times, resulting in a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Subtracting 88 from 97 leaves us with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 22

Going ahead to step 4:
The number 22 fits into 98 4 times, leaving a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 144.0
The remainder is 10 after subtracting 88 from 98.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 22

Going ahead to step 5:
The number 22 fits into 107 4 times, leaving a remainder of 19.
Write down 4 as next digit of the result. 
Result so far: 1444.0
Subtract 88 from 107 to get 19.
Include the next digit (9) from the dividend after 19, then repeat: 199 / 22

Moving on to step 6:
When dividing 199 by 22, we get 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 14449.0
If we subtract 198 from 199, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
If we divide 10 by 22, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 14449.0
The remainder is 10 after subtracting 0 from 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 8:
22 goes into 100 4 times with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 14449.04
The remainder is 12 after subtracting 88 from 100.
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 9:
When dividing 120 by 22, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 14449.045
The remainder is 10 after subtracting 110 from 120.
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 10:
22 can be fit into 100 4 times, resulting in a remainder of 12.
The next digit of our result is 4. 
Result so far: 14449.0454
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.

Going ahead to step 11:
If we divide 120 by 22, we get 5 and a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 14449.04545
Subtract 110 from 120 to 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.

Going ahead to step 12:
22 can be fit into 100 4 times, resulting in a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 14449.045454
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.

Step 13:
If we divide 120 by 22, we get 5 and a remainder of 10.
The next digit of our result is 5. 
Result so far: 14449.0454545
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 14:
100 divided by 22 is 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 14449.04545454
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.

Our division results in 14449.04545454 with a remaining 1.2e-08.