87161172 divided by 874 
We want to figure out the number of times 87161172 can be divided by 874.

Step 1:
874 goes into 8 0 times with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 874

Advancing to step 2:
874 goes into 87 0 times with a remainder of 87.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Include the next digit (1) from the dividend after 87, then repeat: 871 / 874

Moving on to step 3:
The number 874 fits into 871 0 times, leaving a remainder of 871.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 871, we end up with 871.
Grab the next digit (6) from the dividend, add it to 871, then carry on: 8716 / 874

Moving on to step 4:
874 can be fit into 8716 9 times, resulting in a remainder of 850.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we take 7866 away from 8716, we end up with 850.
Include the next digit (1) from the dividend after 850, then repeat: 8501 / 874

Step 5:
874 goes into 8501 9 times with a remainder of 635.
The next digit of our result is 9. 
Result so far: 99.0
If we take 7866 away from 8501, we end up with 635.
Bring next digit (1) of the dividend behind the 635 and repeat the process: 6351 / 874

Going ahead to step 6:
The number 874 fits into 6351 7 times, leaving a remainder of 233.
Put 7 as the next digit of the answer. 
Result so far: 997.0
Subtracting 6118 from 6351 leaves us with 233.
Include the next digit (7) from the dividend after 233, then repeat: 2337 / 874

Advancing to step 7:
874 can be fit into 2337 2 times, resulting in a remainder of 589.
Put 2 as the next digit of the answer. 
Result so far: 9972.0
If we take 1748 away from 2337, we end up with 589.
Fetch the next digit (2) from the dividend, attach it to 589 and continue: 5892 / 874

Advancing to step 8:
If we divide 5892 by 874, we get 6 and a remainder of 648.
Put 6 as the next digit of the answer. 
Result so far: 99726.0
Subtract 5244 from 5892 to get 648.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6480, and continue the process.

Step 9:
874 goes into 6480 7 times with a remainder of 362.
Put 7 as the next digit of the answer. 
Result so far: 99726.7
Subtracting 6118 from 6480 leaves us with 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Moving on to step 10:
3620 divided by 874 is 4 with a remainder of 124.
The number 4 becomes the next digit in our result. 
Result so far: 99726.74
If we take 3496 away from 3620, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Let's proceed to step 11:
When dividing 1240 by 874, we get 1 with a remainder of 366.
Write down 1 as next digit of the result. 
Result so far: 99726.741
If we subtract 874 from 1240, we get 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Advancing to step 12:
3660 divided by 874 is 4 with a remainder of 164.
The next digit of our result is 4. 
Result so far: 99726.7414
The remainder is 164 after subtracting 3496 from 3660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

On to step 13:
1640 divided by 874 is 1 with a remainder of 766.
Record the quotient 1 as the next digit in the result. 
Result so far: 99726.74141
Deduct 874 from 1640 and we're left with 766.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7660, and continue the process.

On to step 14:
The number 874 fits into 7660 8 times, leaving a remainder of 668.
Use 8 as the next digit of our solution. 
Result so far: 99726.741418
The remainder is 668 after subtracting 6992 from 7660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6680, and continue the process.

Step 15:
874 can be fit into 6680 7 times, resulting in a remainder of 562.
The number 7 becomes the next digit in our result. 
Result so far: 99726.7414187
Deduct 6118 from 6680 and we're left with 562.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5620, and continue the process.

Going ahead to step 16:
When dividing 5620 by 874, we get 6 with a remainder of 376.
The number 6 becomes the next digit in our result. 
Result so far: 99726.74141876
If we subtract 5244 from 5620, we get 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

In conclusion, the division gives 99726.74141876 with a balance of 3.76e-07.