We're dividing 50078855 by 317 
We want to divide 50078855 by 317.

Advancing to step 1:
317 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 317

Let's proceed to step 2:
317 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Append the next digit (0) from the dividend to 50 and continue with: 500 / 317

Moving on to step 3:
317 can be fit into 500 1 times, resulting in a remainder of 183.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 317 from 500, we get 183.
Take the next digit (7) from the dividend and append it to 183, then repeat: 1837 / 317

Let's proceed to step 4:
When dividing 1837 by 317, we get 5 with a remainder of 252.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtracting 1585 from 1837 leaves us with 252.
Fetch the next digit (8) from the dividend, attach it to 252 and continue: 2528 / 317

On to step 5:
When dividing 2528 by 317, we get 7 with a remainder of 309.
Write down 7 as next digit of the result. 
Result so far: 157.0
If we take 2219 away from 2528, we end up with 309.
Include the next digit (8) from the dividend after 309, then repeat: 3098 / 317

Advancing to step 6:
When dividing 3098 by 317, we get 9 with a remainder of 245.
The number 9 becomes the next digit in our result. 
Result so far: 1579.0
Subtract 2853 from 3098 to get 245.
Include the next digit (5) from the dividend after 245, then repeat: 2455 / 317

Step 7:
The number 317 fits into 2455 7 times, leaving a remainder of 236.
The number 7 becomes the next digit in our result. 
Result so far: 15797.0
Subtracting 2219 from 2455 leaves us with 236.
Bring next digit (5) of the dividend behind the 236 and repeat the process: 2365 / 317

Step 8:
317 goes into 2365 7 times with a remainder of 146.
Write down 7 as next digit of the result. 
Result so far: 157977.0
Deduct 2219 from 2365 and we're left with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Let's proceed to step 9:
1460 divided by 317 is 4 with a remainder of 192.
Record the quotient 4 as the next digit in the result. 
Result so far: 157977.4
Subtract 1268 from 1460 to get 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Going ahead to step 10:
When dividing 1920 by 317, we get 6 with a remainder of 18.
The next digit of our result is 6. 
Result so far: 157977.46
The remainder is 18 after subtracting 1902 from 1920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 11:
When dividing 180 by 317, we get 0 with a remainder of 180.
Use 0 as the next digit of our solution. 
Result so far: 157977.46
Subtract 0 from 180 to get 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Advancing to step 12:
317 can be fit into 1800 5 times, resulting in a remainder of 215.
Write down 5 as next digit of the result. 
Result so far: 157977.4605
If we subtract 1585 from 1800, we get 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

Let's proceed to step 13:
317 can be fit into 2150 6 times, resulting in a remainder of 248.
The next digit of our result is 6. 
Result so far: 157977.46056
Subtract 1902 from 2150 to get 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Let's proceed to step 14:
If we divide 2480 by 317, we get 7 and a remainder of 261.
Write down 7 as next digit of the result. 
Result so far: 157977.460567
Subtract 2219 from 2480 to get 261.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2610, and continue the process.

Advancing to step 15:
317 can be fit into 2610 8 times, resulting in a remainder of 74.
Use 8 as the next digit of our solution. 
Result so far: 157977.4605678
The remainder is 74 after subtracting 2536 from 2610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 16:
The number 317 fits into 740 2 times, leaving a remainder of 106.
Record the quotient 2 as the next digit in the result. 
Result so far: 157977.46056782
The remainder is 106 after subtracting 634 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

The quotient of the division is 157977.46056782, and the remainder is 1.06e-07.