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

On to step 1:
If we divide 5 by 22, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 22

Moving on to step 2:
If we divide 59 by 22, we get 2 and a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 15 after subtracting 44 from 59.
Fetch the next digit (5) from the dividend, attach it to 15 and continue: 155 / 22

Going ahead to step 3:
The number 22 fits into 155 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 27.0
Subtract 154 from 155 to get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 22

Advancing to step 4:
If we divide 12 by 22, we get 0 and a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 270.0
The remainder is 12 after subtracting 0 from 12.
Include the next digit (5) from the dividend after 12, then repeat: 125 / 22

Advancing to step 5:
The number 22 fits into 125 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 2705.0
If we subtract 110 from 125, we get 15.
Take the next digit (7) from the dividend and append it to 15, then repeat: 157 / 22

Let's proceed to step 6:
When dividing 157 by 22, we get 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 27057.0
If we take 154 away from 157, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
The number 22 fits into 30 1 times, leaving a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 27057.1
If we take 22 away from 30, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
When dividing 80 by 22, we get 3 with a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 27057.13
If we take 66 away from 80, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
The number 22 fits into 140 6 times, leaving a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 27057.136
Subtract 132 from 140 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
When dividing 80 by 22, we get 3 with a remainder of 14.
The next digit of our result is 3. 
Result so far: 27057.1363
Deduct 66 from 80 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 11:
The number 22 fits into 140 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 27057.13636
The remainder is 8 after subtracting 132 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 12:
22 goes into 80 3 times with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 27057.136363
The remainder is 14 after subtracting 66 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 13:
140 divided by 22 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 27057.1363636
If we take 132 away from 140, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 14:
80 divided by 22 is 3 with a remainder of 14.
The next digit of our result is 3. 
Result so far: 27057.13636363
Deduct 66 from 80 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The quotient of the division is 27057.13636363, and the remainder is 1.4e-08.