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

Moving on to step 1:
When dividing 4 by 22, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 22

Step 2:
If we divide 40 by 22, we get 1 and a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 22 away from 40, we end up with 18.
Fetch the next digit (2) from the dividend, attach it to 18 and continue: 182 / 22

Moving on to step 3:
The number 22 fits into 182 8 times, leaving a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtracting 176 from 182 leaves us with 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 22

Step 4:
67 divided by 22 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 183.0
The remainder is 1 after subtracting 66 from 67.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 22

Step 5:
22 can be fit into 14 0 times, resulting in a remainder of 14.
The number 0 becomes the next digit in our result. 
Result so far: 1830.0
Subtract 0 from 14 to get 14.
Grab the next digit (7) from the dividend, add it to 14, then carry on: 147 / 22

Let's proceed to step 6:
If we divide 147 by 22, we get 6 and a remainder of 15.
Write down 6 as next digit of the result. 
Result so far: 18306.0
Subtracting 132 from 147 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
150 divided by 22 is 6 with a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 18306.6
Subtracting 132 from 150 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 8:
22 can be fit into 180 8 times, resulting in a remainder of 4.
The next digit of our result is 8. 
Result so far: 18306.68
If we take 176 away from 180, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
The number 22 fits into 40 1 times, leaving a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 18306.681
Deduct 22 from 40 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 10:
When dividing 180 by 22, we get 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 18306.6818
If we take 176 away from 180, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 11:
40 divided by 22 is 1 with a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 18306.68181
Subtract 22 from 40 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 12:
22 goes into 180 8 times with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 18306.681818
If we take 176 away from 180, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 13:
When dividing 40 by 22, we get 1 with a remainder of 18.
The next digit of our result is 1. 
Result so far: 18306.6818181
The remainder is 18 after subtracting 22 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 14:
22 goes into 180 8 times with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 18306.68181818
If we take 176 away from 180, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 18306.68181818, with a leftover of 4e-09.