We're dividing 51987501 by 877 
We're looking to find how many times 877 goes into 51987501.

Going ahead to step 1:
When dividing 5 by 877, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 877

Going ahead to step 2:
If we divide 51 by 877, we get 0 and a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Include the next digit (9) from the dividend after 51, then repeat: 519 / 877

Advancing to step 3:
877 goes into 519 0 times with a remainder of 519.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 519, we end up with 519.
Bring next digit (8) of the dividend behind the 519 and repeat the process: 5198 / 877

Let's proceed to step 4:
When dividing 5198 by 877, we get 5 with a remainder of 813.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 4385 from 5198 to get 813.
Append the next digit (7) from the dividend to 813 and continue with: 8137 / 877

Going ahead to step 5:
The number 877 fits into 8137 9 times, leaving a remainder of 244.
Put 9 as the next digit of the answer. 
Result so far: 59.0
If we take 7893 away from 8137, we end up with 244.
Grab the next digit (5) from the dividend, add it to 244, then carry on: 2445 / 877

Moving on to step 6:
2445 divided by 877 is 2 with a remainder of 691.
The number 2 becomes the next digit in our result. 
Result so far: 592.0
Subtract 1754 from 2445 to get 691.
Take the next digit (0) from the dividend and append it to 691, then repeat: 6910 / 877

Going ahead to step 7:
6910 divided by 877 is 7 with a remainder of 771.
The next digit of our result is 7. 
Result so far: 5927.0
If we take 6139 away from 6910, we end up with 771.
Include the next digit (1) from the dividend after 771, then repeat: 7711 / 877

Step 8:
If we divide 7711 by 877, we get 8 and a remainder of 695.
Put 8 as the next digit of the answer. 
Result so far: 59278.0
Deduct 7016 from 7711 and we're left with 695.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6950, and continue the process.

Advancing to step 9:
If we divide 6950 by 877, we get 7 and a remainder of 811.
Record the quotient 7 as the next digit in the result. 
Result so far: 59278.7
The remainder is 811 after subtracting 6139 from 6950.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8110, and continue the process.

Step 10:
If we divide 8110 by 877, we get 9 and a remainder of 217.
The next digit of our result is 9. 
Result so far: 59278.79
Deduct 7893 from 8110 and we're left with 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

Let's proceed to step 11:
The number 877 fits into 2170 2 times, leaving a remainder of 416.
Use 2 as the next digit of our solution. 
Result so far: 59278.792
The remainder is 416 after subtracting 1754 from 2170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Advancing to step 12:
When dividing 4160 by 877, we get 4 with a remainder of 652.
The number 4 becomes the next digit in our result. 
Result so far: 59278.7924
Deduct 3508 from 4160 and we're left with 652.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6520, and continue the process.

Going ahead to step 13:
877 can be fit into 6520 7 times, resulting in a remainder of 381.
Put 7 as the next digit of the answer. 
Result so far: 59278.79247
Subtract 6139 from 6520 to get 381.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3810, and continue the process.

On to step 14:
877 goes into 3810 4 times with a remainder of 302.
Record the quotient 4 as the next digit in the result. 
Result so far: 59278.792474
If we take 3508 away from 3810, we end up with 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

Going ahead to step 15:
If we divide 3020 by 877, we get 3 and a remainder of 389.
The next digit of our result is 3. 
Result so far: 59278.7924743
Deduct 2631 from 3020 and we're left with 389.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3890, and continue the process.

On to step 16:
3890 divided by 877 is 4 with a remainder of 382.
The next digit of our result is 4. 
Result so far: 59278.79247434
The remainder is 382 after subtracting 3508 from 3890.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

The final outcome is 59278.79247434, with a leftover of 3.82e-07.