Let's divide 874877 by 87
We want to divide 874877 by 87.

On to step 1:
If we divide 8 by 87, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 87

Advancing to step 2:
87 divided by 87 is 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 87 away from 87, we end up with 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 87

Step 3:
The number 87 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 87

Going ahead to step 4:
When dividing 48 by 87, we get 0 with a remainder of 48.
The next digit of our result is 0. 
Result so far: 100.0
Subtract 0 from 48 to get 48.
Grab the next digit (7) from the dividend, add it to 48, then carry on: 487 / 87

Advancing to step 5:
When dividing 487 by 87, we get 5 with a remainder of 52.
Record the quotient 5 as the next digit in the result. 
Result so far: 1005.0
If we take 435 away from 487, we end up with 52.
Include the next digit (7) from the dividend after 52, then repeat: 527 / 87

Moving on to step 6:
87 goes into 527 6 times with a remainder of 5.
Write down 6 as next digit of the result. 
Result so far: 10056.0
If we take 522 away from 527, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
87 goes into 50 0 times with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 10056.0
If we take 0 away from 50, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 8:
87 goes into 500 5 times with a remainder of 65.
The number 5 becomes the next digit in our result. 
Result so far: 10056.05
Subtracting 435 from 500 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Going ahead to step 9:
The number 87 fits into 650 7 times, leaving a remainder of 41.
The next digit of our result is 7. 
Result so far: 10056.057
Deduct 609 from 650 and we're left with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Let's proceed to step 10:
87 can be fit into 410 4 times, resulting in a remainder of 62.
The next digit of our result is 4. 
Result so far: 10056.0574
If we take 348 away from 410, we end up with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 11:
If we divide 620 by 87, we get 7 and a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 10056.05747
Deduct 609 from 620 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 12:
When dividing 110 by 87, we get 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 10056.057471
Deduct 87 from 110 and we're left 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.

Advancing to step 13:
230 divided by 87 is 2 with a remainder of 56.
Use 2 as the next digit of our solution. 
Result so far: 10056.0574712
If we subtract 174 from 230, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 14:
87 can be fit into 560 6 times, resulting in a remainder of 38.
Record the quotient 6 as the next digit in the result. 
Result so far: 10056.05747126
If we subtract 522 from 560, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The quotient of the division is 10056.05747126, and the remainder is 3.8e-08.