We divide 87005051 by 161
Our goal is to divide 87005051 by 161.

Advancing to step 1:
8 divided by 161 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 161

Let's proceed to step 2:
If we divide 87 by 161, we get 0 and a remainder of 87.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 87, we get 87.
Append the next digit (0) from the dividend to 87 and continue with: 870 / 161

Moving on to step 3:
161 goes into 870 5 times with a remainder of 65.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 805 from 870 and we're left with 65.
Fetch the next digit (0) from the dividend, attach it to 65 and continue: 650 / 161

Advancing to step 4:
When dividing 650 by 161, we get 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 54.0
Subtract 644 from 650 to get 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 161

Going ahead to step 5:
When dividing 65 by 161, we get 0 with a remainder of 65.
Record the quotient 0 as the next digit in the result. 
Result so far: 540.0
Subtracting 0 from 65 leaves us with 65.
Append the next digit (0) from the dividend to 65 and continue with: 650 / 161

Advancing to step 6:
650 divided by 161 is 4 with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 5404.0
If we take 644 away from 650, we end up with 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 161

Advancing to step 7:
161 can be fit into 65 0 times, resulting in a remainder of 65.
The next digit of our result is 0. 
Result so far: 54040.0
The remainder is 65 after subtracting 0 from 65.
Append the next digit (1) from the dividend to 65 and continue with: 651 / 161

Going ahead to step 8:
If we divide 651 by 161, we get 4 and a remainder of 7.
Put 4 as the next digit of the answer. 
Result so far: 540404.0
If we take 644 away from 651, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 9:
When dividing 70 by 161, we get 0 with a remainder of 70.
Write down 0 as next digit of the result. 
Result so far: 540404.0
If we subtract 0 from 70, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 10:
When dividing 700 by 161, we get 4 with a remainder of 56.
Use 4 as the next digit of our solution. 
Result so far: 540404.04
Subtracting 644 from 700 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 11:
161 goes into 560 3 times with a remainder of 77.
Use 3 as the next digit of our solution. 
Result so far: 540404.043
If we take 483 away from 560, we end up with 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

On to step 12:
161 goes into 770 4 times with a remainder of 126.
Put 4 as the next digit of the answer. 
Result so far: 540404.0434
Subtract 644 from 770 to get 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Step 13:
If we divide 1260 by 161, we get 7 and a remainder of 133.
The number 7 becomes the next digit in our result. 
Result so far: 540404.04347
The remainder is 133 after subtracting 1127 from 1260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1330, and continue the process.

Let's proceed to step 14:
When dividing 1330 by 161, we get 8 with a remainder of 42.
Put 8 as the next digit of the answer. 
Result so far: 540404.043478
Deduct 1288 from 1330 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 15:
If we divide 420 by 161, we get 2 and a remainder of 98.
The number 2 becomes the next digit in our result. 
Result so far: 540404.0434782
Subtracting 322 from 420 leaves us with 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Going ahead to step 16:
If we divide 980 by 161, we get 6 and a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 540404.04347826
If we take 966 away from 980, 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.

The quotient of the division is 540404.04347826, and the remainder is 1.4e-08.