We look at the division of 50087798 by 310 
Let's see how many times 310 fits into 50087798.

Advancing to step 1:
310 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 310

Going ahead to step 2:
The number 310 fits into 50 0 times, leaving a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Append the next digit (0) from the dividend to 50 and continue with: 500 / 310

Advancing to step 3:
310 goes into 500 1 times with a remainder of 190.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 190 after subtracting 310 from 500.
Grab the next digit (8) from the dividend, add it to 190, then carry on: 1908 / 310

Moving on to step 4:
310 can be fit into 1908 6 times, resulting in a remainder of 48.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtracting 1860 from 1908 leaves us with 48.
Grab the next digit (7) from the dividend, add it to 48, then carry on: 487 / 310

Step 5:
If we divide 487 by 310, we get 1 and a remainder of 177.
The next digit of our result is 1. 
Result so far: 161.0
Subtract 310 from 487 to get 177.
Fetch the next digit (7) from the dividend, attach it to 177 and continue: 1777 / 310

Let's proceed to step 6:
If we divide 1777 by 310, we get 5 and a remainder of 227.
The next digit of our result is 5. 
Result so far: 1615.0
Deduct 1550 from 1777 and we're left with 227.
Append the next digit (9) from the dividend to 227 and continue with: 2279 / 310

Step 7:
The number 310 fits into 2279 7 times, leaving a remainder of 109.
Use 7 as the next digit of our solution. 
Result so far: 16157.0
Subtract 2170 from 2279 to get 109.
Fetch the next digit (8) from the dividend, attach it to 109 and continue: 1098 / 310

Moving on to step 8:
310 goes into 1098 3 times with a remainder of 168.
Record the quotient 3 as the next digit in the result. 
Result so far: 161573.0
The remainder is 168 after subtracting 930 from 1098.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Going ahead to step 9:
If we divide 1680 by 310, we get 5 and a remainder of 130.
The number 5 becomes the next digit in our result. 
Result so far: 161573.5
Deduct 1550 from 1680 and we're left with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Going ahead to step 10:
1300 divided by 310 is 4 with a remainder of 60.
Put 4 as the next digit of the answer. 
Result so far: 161573.54
Subtract 1240 from 1300 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 11:
The number 310 fits into 600 1 times, leaving a remainder of 290.
The next digit of our result is 1. 
Result so far: 161573.541
Subtract 310 from 600 to get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

On to step 12:
If we divide 2900 by 310, we get 9 and a remainder of 110.
The next digit of our result is 9. 
Result so far: 161573.5419
The remainder is 110 after subtracting 2790 from 2900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Let's proceed to step 13:
310 goes into 1100 3 times with a remainder of 170.
Record the quotient 3 as the next digit in the result. 
Result so far: 161573.54193
If we subtract 930 from 1100, we get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Moving on to step 14:
The number 310 fits into 1700 5 times, leaving a remainder of 150.
Use 5 as the next digit of our solution. 
Result so far: 161573.541935
The remainder is 150 after subtracting 1550 from 1700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Moving on to step 15:
310 goes into 1500 4 times with a remainder of 260.
Put 4 as the next digit of the answer. 
Result so far: 161573.5419354
The remainder is 260 after subtracting 1240 from 1500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Step 16:
The number 310 fits into 2600 8 times, leaving a remainder of 120.
Record the quotient 8 as the next digit in the result. 
Result so far: 161573.54193548
Subtracting 2480 from 2600 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

The quotient of the division is 161573.54193548, and the remainder is 1.2e-07.