We're dividing 165027 by 59 
We're looking to find how many times 59 goes into 165027.

Let's proceed to step 1:
When dividing 1 by 59, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 59

On to step 2:
16 divided by 59 is 0 with a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 59

Going ahead to step 3:
59 goes into 165 2 times with a remainder of 47.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 118 from 165, we get 47.
Bring next digit (0) of the dividend behind the 47 and repeat the process: 470 / 59

Moving on to step 4:
When dividing 470 by 59, we get 7 with a remainder of 57.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
The remainder is 57 after subtracting 413 from 470.
Include the next digit (2) from the dividend after 57, then repeat: 572 / 59

Moving on to step 5:
The number 59 fits into 572 9 times, leaving a remainder of 41.
The number 9 becomes the next digit in our result. 
Result so far: 279.0
If we subtract 531 from 572, we get 41.
Grab the next digit (7) from the dividend, add it to 41, then carry on: 417 / 59

Moving on to step 6:
59 can be fit into 417 7 times, resulting in a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 2797.0
Subtracting 413 from 417 leaves us 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 7:
59 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 2797.0
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 8:
If we divide 400 by 59, we get 6 and a remainder of 46.
Record the quotient 6 as the next digit in the result. 
Result so far: 2797.06
Deduct 354 from 400 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 9:
The number 59 fits into 460 7 times, leaving a remainder of 47.
The number 7 becomes the next digit in our result. 
Result so far: 2797.067
Subtract 413 from 460 to get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 10:
If we divide 470 by 59, we get 7 and a remainder of 57.
Record the quotient 7 as the next digit in the result. 
Result so far: 2797.0677
Subtracting 413 from 470 leaves us with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Our division results in 2797.0677 with a remaining 0.00057.