We look at the division of 166565 by 22 
We want to figure out the number of times 166565 can be divided by 22.

On to step 1:
1 divided by 22 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 22

Going ahead to step 2:
The number 22 fits into 16 0 times, leaving a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 22

Moving on to step 3:
166 divided by 22 is 7 with a remainder of 12.
The next digit of our result is 7. 
Result so far: 7.0
Deduct 154 from 166 and we're left with 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 22

Advancing to step 4:
22 goes into 125 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 75.0
Deduct 110 from 125 and we're left with 15.
Fetch the next digit (6) from the dividend, attach it to 15 and continue: 156 / 22

Step 5:
22 goes into 156 7 times with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 757.0
If we take 154 away from 156, we end up with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 22

Going ahead to step 6:
If we divide 25 by 22, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 7571.0
Subtract 22 from 25 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
22 goes into 30 1 times with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 7571.1
The remainder is 8 after subtracting 22 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
22 can be fit into 80 3 times, resulting in a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 7571.13
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.

Let's proceed to step 9:
The number 22 fits into 140 6 times, leaving a remainder of 8.
The next digit of our result is 6. 
Result so far: 7571.136
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.

Step 10:
When dividing 80 by 22, we get 3 with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 7571.1363
Subtract 66 from 80 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 11:
22 goes into 140 6 times with a remainder of 8.
The next digit of our result is 6. 
Result so far: 7571.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:
The number 22 fits into 80 3 times, leaving a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 7571.136363
If we subtract 66 from 80, we get 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 13:
When dividing 140 by 22, we get 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 7571.1363636
Deduct 132 from 140 and we're left 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 14:
80 divided by 22 is 3 with a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 7571.13636363
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.

After the division, we end up with 7571.13636363 and a remainder of 1.4e-08.