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

Going ahead to step 1:
22 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 22

Step 2:
If we divide 52 by 22, we get 2 and a remainder of 8.
The next digit of our result is 2. 
Result so far: 2.0
If we take 44 away from 52, we end up with 8.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 22

Moving on to step 3:
22 goes into 81 3 times with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 23.0
Subtracting 66 from 81 leaves us with 15.
Bring next digit (1) of the dividend behind the 15 and repeat the process: 151 / 22

Moving on to step 4:
22 goes into 151 6 times with a remainder of 19.
The next digit of our result is 6. 
Result so far: 236.0
Subtract 132 from 151 to get 19.
Append the next digit (6) from the dividend to 19 and continue with: 196 / 22

Going ahead to step 5:
22 can be fit into 196 8 times, resulting in a remainder of 20.
The number 8 becomes the next digit in our result. 
Result so far: 2368.0
Deduct 176 from 196 and we're left with 20.
Include the next digit (5) from the dividend after 20, then repeat: 205 / 22

Moving on to step 6:
The number 22 fits into 205 9 times, leaving a remainder of 7.
The number 9 becomes the next digit in our result. 
Result so far: 23689.0
The remainder is 7 after subtracting 198 from 205.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
If we divide 70 by 22, we get 3 and a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 23689.3
Subtract 66 from 70 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
22 goes into 40 1 times with a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 23689.31
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 9:
22 can be fit into 180 8 times, resulting in a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 23689.318
The remainder is 4 after subtracting 176 from 180.
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 10:
When dividing 40 by 22, we get 1 with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 23689.3181
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.

Let's proceed to step 11:
180 divided by 22 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 23689.31818
If we subtract 176 from 180, we get 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 12:
If we divide 40 by 22, we get 1 and a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 23689.318181
Subtracting 22 from 40 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.

On to step 13:
The number 22 fits into 180 8 times, leaving a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 23689.3181818
If we subtract 176 from 180, we get 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 14:
The number 22 fits into 40 1 times, leaving a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 23689.31818181
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.

The quotient of the division is 23689.31818181, and the remainder is 1.8e-08.