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

Moving on to step 1:
If we divide 1 by 89, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 89

Moving on to step 2:
89 goes into 16 0 times with a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Fetch the next digit (5) from the dividend, attach it to 16 and continue: 165 / 89

Step 3:
89 goes into 165 1 times with a remainder of 76.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 89 from 165 leaves us with 76.
Grab the next digit (4) from the dividend, add it to 76, then carry on: 764 / 89

Step 4:
When dividing 764 by 89, we get 8 with a remainder of 52.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we subtract 712 from 764, we get 52.
Take the next digit (0) from the dividend and append it to 52, then repeat: 520 / 89

Moving on to step 5:
If we divide 520 by 89, we get 5 and a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 185.0
Deduct 445 from 520 and we're left with 75.
Include the next digit (7) from the dividend after 75, then repeat: 757 / 89

Step 6:
When dividing 757 by 89, we get 8 with a remainder of 45.
Write down 8 as next digit of the result. 
Result so far: 1858.0
Subtracting 712 from 757 leaves us with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 7:
When dividing 450 by 89, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 1858.5
The remainder is 5 after subtracting 445 from 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
50 divided by 89 is 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 1858.5
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 9:
The number 89 fits into 500 5 times, leaving a remainder of 55.
Put 5 as the next digit of the answer. 
Result so far: 1858.505
If we subtract 445 from 500, we get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Step 10:
When dividing 550 by 89, we get 6 with a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 1858.5056
Subtracting 534 from 550 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 11:
If we divide 160 by 89, we get 1 and a remainder of 71.
The number 1 becomes the next digit in our result. 
Result so far: 1858.50561
The remainder is 71 after subtracting 89 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 12:
When dividing 710 by 89, we get 7 with a remainder of 87.
Record the quotient 7 as the next digit in the result. 
Result so far: 1858.505617
The remainder is 87 after subtracting 623 from 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Moving on to step 13:
If we divide 870 by 89, we get 9 and a remainder of 69.
The next digit of our result is 9. 
Result so far: 1858.5056179
The remainder is 69 after subtracting 801 from 870.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

On to step 14:
If we divide 690 by 89, we get 7 and a remainder of 67.
Put 7 as the next digit of the answer. 
Result so far: 1858.50561797
The remainder is 67 after subtracting 623 from 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

The final outcome is 1858.50561797, with a leftover of 6.7e-08.