165704 divided by 59 
We're looking to find how many times 59 goes into 165704.

Moving on to step 1:
The number 59 fits into 1 0 times, leaving 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.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 59

On to step 2:
The number 59 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 take 0 away from 16, we end up with 16.
Bring next digit (5) of the dividend behind the 16 and repeat the process: 165 / 59

Going ahead to step 3:
59 can be fit into 165 2 times, resulting in a remainder of 47.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 118 away from 165, we end up with 47.
Fetch the next digit (7) from the dividend, attach it to 47 and continue: 477 / 59

Going ahead to step 4:
If we divide 477 by 59, we get 8 and a remainder of 5.
The next digit of our result is 8. 
Result so far: 28.0
Deduct 472 from 477 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 59

Advancing to step 5:
59 goes into 50 0 times with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 280.0
If we take 0 away from 50, we end up with 50.
Grab the next digit (4) from the dividend, add it to 50, then carry on: 504 / 59

Step 6:
The number 59 fits into 504 8 times, leaving a remainder of 32.
The next digit of our result is 8. 
Result so far: 2808.0
If we subtract 472 from 504, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 7:
When dividing 320 by 59, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 2808.5
If we take 295 away from 320, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 8:
59 can be fit into 250 4 times, resulting in a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 2808.54
If we take 236 away from 250, 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.

Let's proceed to step 9:
If we divide 140 by 59, we get 2 and a remainder of 22.
The next digit of our result is 2. 
Result so far: 2808.542
If we take 118 away from 140, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 10:
59 can be fit into 220 3 times, resulting in a remainder of 43.
Put 3 as the next digit of the answer. 
Result so far: 2808.5423
If we take 177 away from 220, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Moving on to step 11:
When dividing 430 by 59, we get 7 with a remainder of 17.
The next digit of our result is 7. 
Result so far: 2808.54237
The remainder is 17 after subtracting 413 from 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 12:
If we divide 170 by 59, we get 2 and a remainder of 52.
Record the quotient 2 as the next digit in the result. 
Result so far: 2808.542372
Subtracting 118 from 170 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 13:
If we divide 520 by 59, we get 8 and a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 2808.5423728
If we take 472 away from 520, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 14:
59 goes into 480 8 times with a remainder of 8.
The next digit of our result is 8. 
Result so far: 2808.54237288
If we subtract 472 from 480, we 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.

The quotient of the division is 2808.54237288, and the remainder is 8e-09.