Let's divide 87670894 by 161
We're looking to find how many times 161 goes into 87670894.

Going ahead to step 1:
The number 161 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 161

Advancing to step 2:
When dividing 87 by 161, we get 0 with a remainder of 87.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 87, we end up with 87.
Include the next digit (6) from the dividend after 87, then repeat: 876 / 161

Step 3:
The number 161 fits into 876 5 times, leaving a remainder of 71.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 805 away from 876, we end up with 71.
Fetch the next digit (7) from the dividend, attach it to 71 and continue: 717 / 161

Going ahead to step 4:
If we divide 717 by 161, we get 4 and a remainder of 73.
Use 4 as the next digit of our solution. 
Result so far: 54.0
If we take 644 away from 717, we end up with 73.
Grab the next digit (0) from the dividend, add it to 73, then carry on: 730 / 161

Advancing to step 5:
When dividing 730 by 161, we get 4 with a remainder of 86.
Write down 4 as next digit of the result. 
Result so far: 544.0
The remainder is 86 after subtracting 644 from 730.
Take the next digit (8) from the dividend and append it to 86, then repeat: 868 / 161

Going ahead to step 6:
The number 161 fits into 868 5 times, leaving a remainder of 63.
Record the quotient 5 as the next digit in the result. 
Result so far: 5445.0
Subtracting 805 from 868 leaves us with 63.
Include the next digit (9) from the dividend after 63, then repeat: 639 / 161

Moving on to step 7:
When dividing 639 by 161, we get 3 with a remainder of 156.
Put 3 as the next digit of the answer. 
Result so far: 54453.0
Subtracting 483 from 639 leaves us with 156.
Bring next digit (4) of the dividend behind the 156 and repeat the process: 1564 / 161

Let's proceed to step 8:
161 goes into 1564 9 times with a remainder of 115.
Record the quotient 9 as the next digit in the result. 
Result so far: 544539.0
Subtracting 1449 from 1564 leaves us with 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Advancing to step 9:
161 can be fit into 1150 7 times, resulting in a remainder of 23.
The next digit of our result is 7. 
Result so far: 544539.7
Subtract 1127 from 1150 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 10:
The number 161 fits into 230 1 times, leaving a remainder of 69.
The number 1 becomes the next digit in our result. 
Result so far: 544539.71
The remainder is 69 after subtracting 161 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Advancing to step 11:
The number 161 fits into 690 4 times, leaving a remainder of 46.
The number 4 becomes the next digit in our result. 
Result so far: 544539.714
Subtract 644 from 690 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 12:
161 goes into 460 2 times with a remainder of 138.
Write down 2 as next digit of the result. 
Result so far: 544539.7142
If we subtract 322 from 460, we get 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Moving on to step 13:
The number 161 fits into 1380 8 times, leaving a remainder of 92.
Record the quotient 8 as the next digit in the result. 
Result so far: 544539.71428
The remainder is 92 after subtracting 1288 from 1380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Going ahead to step 14:
The number 161 fits into 920 5 times, leaving a remainder of 115.
Record the quotient 5 as the next digit in the result. 
Result so far: 544539.714285
If we subtract 805 from 920, we get 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Advancing to step 15:
161 goes into 1150 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 544539.7142857
If we take 1127 away from 1150, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 16:
230 divided by 161 is 1 with a remainder of 69.
The number 1 becomes the next digit in our result. 
Result so far: 544539.71428571
If we take 161 away from 230, we end up with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

The quotient of the division is 544539.71428571, and the remainder is 6.9e-08.