164941 divided by 87 
Let's see how many times 87 fits into 164941.

Let's proceed to step 1:
87 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 87

On to step 2:
16 divided by 87 is 0 with a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Append the next digit (4) from the dividend to 16 and continue with: 164 / 87

On to step 3:
87 can be fit into 164 1 times, resulting in a remainder of 77.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 87 from 164 to get 77.
Take the next digit (9) from the dividend and append it to 77, then repeat: 779 / 87

Step 4:
When dividing 779 by 87, we get 8 with a remainder of 83.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Deduct 696 from 779 and we're left with 83.
Append the next digit (4) from the dividend to 83 and continue with: 834 / 87

Advancing to step 5:
When dividing 834 by 87, we get 9 with a remainder of 51.
Record the quotient 9 as the next digit in the result. 
Result so far: 189.0
Subtract 783 from 834 to get 51.
Take the next digit (1) from the dividend and append it to 51, then repeat: 511 / 87

Step 6:
511 divided by 87 is 5 with a remainder of 76.
Record the quotient 5 as the next digit in the result. 
Result so far: 1895.0
Subtract 435 from 511 to get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 7:
When dividing 760 by 87, we get 8 with a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 1895.8
The remainder is 64 after subtracting 696 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 8:
When dividing 640 by 87, we get 7 with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 1895.87
The remainder is 31 after subtracting 609 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 9:
When dividing 310 by 87, we get 3 with a remainder of 49.
The next digit of our result is 3. 
Result so far: 1895.873
Subtract 261 from 310 to get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Let's proceed to step 10:
490 divided by 87 is 5 with a remainder of 55.
The next digit of our result is 5. 
Result so far: 1895.8735
Subtracting 435 from 490 leaves us with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Advancing to step 11:
If we divide 550 by 87, we get 6 and a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 1895.87356
If we subtract 522 from 550, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 12:
If we divide 280 by 87, we get 3 and a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 1895.873563
Subtracting 261 from 280 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 13:
If we divide 190 by 87, we get 2 and a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 1895.8735632
If we subtract 174 from 190, we get 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 14:
87 can be fit into 160 1 times, resulting in a remainder of 73.
The next digit of our result is 1. 
Result so far: 1895.87356321
The remainder is 73 after subtracting 87 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

The final outcome is 1895.87356321, with a leftover of 7.3e-08.