We're dividing 50878213 by 871 
We want to figure out the number of times 50878213 can be divided by 871.

Let's proceed to step 1:
The number 871 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 871

Moving on to step 2:
50 divided by 871 is 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Grab the next digit (8) from the dividend, add it to 50, then carry on: 508 / 871

Advancing to step 3:
The number 871 fits into 508 0 times, leaving a remainder of 508.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 508 leaves us with 508.
Fetch the next digit (7) from the dividend, attach it to 508 and continue: 5087 / 871

Step 4:
If we divide 5087 by 871, we get 5 and a remainder of 732.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we subtract 4355 from 5087, we get 732.
Include the next digit (8) from the dividend after 732, then repeat: 7328 / 871

Going ahead to step 5:
7328 divided by 871 is 8 with a remainder of 360.
The next digit of our result is 8. 
Result so far: 58.0
Deduct 6968 from 7328 and we're left with 360.
Bring next digit (2) of the dividend behind the 360 and repeat the process: 3602 / 871

Step 6:
871 can be fit into 3602 4 times, resulting in a remainder of 118.
Write down 4 as next digit of the result. 
Result so far: 584.0
The remainder is 118 after subtracting 3484 from 3602.
Grab the next digit (1) from the dividend, add it to 118, then carry on: 1181 / 871

On to step 7:
The number 871 fits into 1181 1 times, leaving a remainder of 310.
The number 1 becomes the next digit in our result. 
Result so far: 5841.0
If we take 871 away from 1181, we end up with 310.
Bring next digit (3) of the dividend behind the 310 and repeat the process: 3103 / 871

Let's proceed to step 8:
871 goes into 3103 3 times with a remainder of 490.
Record the quotient 3 as the next digit in the result. 
Result so far: 58413.0
Deduct 2613 from 3103 and we're left with 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

Let's proceed to step 9:
4900 divided by 871 is 5 with a remainder of 545.
The next digit of our result is 5. 
Result so far: 58413.5
The remainder is 545 after subtracting 4355 from 4900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5450, and continue the process.

On to step 10:
871 can be fit into 5450 6 times, resulting in a remainder of 224.
Record the quotient 6 as the next digit in the result. 
Result so far: 58413.56
If we take 5226 away from 5450, we end up with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

On to step 11:
871 goes into 2240 2 times with a remainder of 498.
Write down 2 as next digit of the result. 
Result so far: 58413.562
If we subtract 1742 from 2240, we get 498.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4980, and continue the process.

Let's proceed to step 12:
The number 871 fits into 4980 5 times, leaving a remainder of 625.
Put 5 as the next digit of the answer. 
Result so far: 58413.5625
Subtracting 4355 from 4980 leaves us with 625.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6250, and continue the process.

Moving on to step 13:
If we divide 6250 by 871, we get 7 and a remainder of 153.
Record the quotient 7 as the next digit in the result. 
Result so far: 58413.56257
If we take 6097 away from 6250, we end up with 153.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1530, and continue the process.

Moving on to step 14:
If we divide 1530 by 871, we get 1 and a remainder of 659.
Use 1 as the next digit of our solution. 
Result so far: 58413.562571
Deduct 871 from 1530 and we're left with 659.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6590, and continue the process.

On to step 15:
The number 871 fits into 6590 7 times, leaving a remainder of 493.
Record the quotient 7 as the next digit in the result. 
Result so far: 58413.5625717
Subtract 6097 from 6590 to get 493.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4930, and continue the process.

Going ahead to step 16:
The number 871 fits into 4930 5 times, leaving a remainder of 575.
The number 5 becomes the next digit in our result. 
Result so far: 58413.56257175
If we take 4355 away from 4930, we end up with 575.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5750, and continue the process.

After the division, we end up with 58413.56257175 and a remainder of 5.75e-07.