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

On to step 1:
If we divide 3 by 22, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 22

Step 2:
The number 22 fits into 31 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 22 from 31 to get 9.
Fetch the next digit (6) from the dividend, attach it to 9 and continue: 96 / 22

Step 3:
The number 22 fits into 96 4 times, leaving a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtract 88 from 96 to get 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 22

Step 4:
If we divide 84 by 22, we get 3 and a remainder of 18.
Use 3 as the next digit of our solution. 
Result so far: 143.0
If we take 66 away from 84, we end up with 18.
Grab the next digit (5) from the dividend, add it to 18, then carry on: 185 / 22

Advancing to step 5:
If we divide 185 by 22, we get 8 and a remainder of 9.
Write down 8 as next digit of the result. 
Result so far: 1438.0
Deduct 176 from 185 and we're left with 9.
Fetch the next digit (0) from the dividend, attach it to 9 and continue: 90 / 22

Advancing to step 6:
90 divided by 22 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 14384.0
If we take 88 away from 90, 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.

Let's proceed to step 7:
If we divide 20 by 22, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 14384.0
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 8:
22 goes into 200 9 times with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 14384.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.

Moving on to step 9:
20 divided by 22 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 14384.09
Subtract 0 from 20 to 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 10:
If we divide 200 by 22, we get 9 and a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 14384.0909
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.

Step 11:
The number 22 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 14384.0909
Subtract 0 from 20 to 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.

Let's proceed to step 12:
If we divide 200 by 22, we get 9 and a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 14384.090909
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 13:
When dividing 20 by 22, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 14384.090909
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.

Moving on to step 14:
The number 22 fits into 200 9 times, leaving a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 14384.09090909
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.

After the division, we end up with 14384.09090909 and a remainder of 2e-09.