Let's divide 5155039 by 317
Let's see how many times 317 fits into 5155039.

Let's proceed to step 1:
The number 317 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 317

Going ahead to step 2:
When dividing 51 by 317, we get 0 with a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 51 after subtracting 0 from 51.
Grab the next digit (5) from the dividend, add it to 51, then carry on: 515 / 317

Going ahead to step 3:
The number 317 fits into 515 1 times, leaving a remainder of 198.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 317 from 515 to get 198.
Append the next digit (5) from the dividend to 198 and continue with: 1985 / 317

Step 4:
The number 317 fits into 1985 6 times, leaving a remainder of 83.
Write down 6 as next digit of the result. 
Result so far: 16.0
If we subtract 1902 from 1985, we get 83.
Take the next digit (0) from the dividend and append it to 83, then repeat: 830 / 317

Advancing to step 5:
When dividing 830 by 317, we get 2 with a remainder of 196.
Use 2 as the next digit of our solution. 
Result so far: 162.0
If we subtract 634 from 830, we get 196.
Fetch the next digit (3) from the dividend, attach it to 196 and continue: 1963 / 317

Let's proceed to step 6:
If we divide 1963 by 317, we get 6 and a remainder of 61.
Use 6 as the next digit of our solution. 
Result so far: 1626.0
Deduct 1902 from 1963 and we're left with 61.
Take the next digit (9) from the dividend and append it to 61, then repeat: 619 / 317

Advancing to step 7:
The number 317 fits into 619 1 times, leaving a remainder of 302.
The next digit of our result is 1. 
Result so far: 16261.0
The remainder is 302 after subtracting 317 from 619.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

Let's proceed to step 8:
317 can be fit into 3020 9 times, resulting in a remainder of 167.
The number 9 becomes the next digit in our result. 
Result so far: 16261.9
Deduct 2853 from 3020 and we're left with 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Moving on to step 9:
1670 divided by 317 is 5 with a remainder of 85.
Put 5 as the next digit of the answer. 
Result so far: 16261.95
If we subtract 1585 from 1670, we get 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Step 10:
The number 317 fits into 850 2 times, leaving a remainder of 216.
Record the quotient 2 as the next digit in the result. 
Result so far: 16261.952
Subtract 634 from 850 to get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 11:
2160 divided by 317 is 6 with a remainder of 258.
Record the quotient 6 as the next digit in the result. 
Result so far: 16261.9526
If we subtract 1902 from 2160, we get 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Advancing to step 12:
317 goes into 2580 8 times with a remainder of 44.
Use 8 as the next digit of our solution. 
Result so far: 16261.95268
If we take 2536 away from 2580, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 13:
317 can be fit into 440 1 times, resulting in a remainder of 123.
Record the quotient 1 as the next digit in the result. 
Result so far: 16261.952681
If we subtract 317 from 440, we get 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Moving on to step 14:
If we divide 1230 by 317, we get 3 and a remainder of 279.
The next digit of our result is 3. 
Result so far: 16261.9526813
Subtracting 951 from 1230 leaves us with 279.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2790, and continue the process.

Going ahead to step 15:
When dividing 2790 by 317, we get 8 with a remainder of 254.
Use 8 as the next digit of our solution. 
Result so far: 16261.95268138
If we subtract 2536 from 2790, we get 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

In conclusion, the division gives 16261.95268138 with a balance of 2.54e-07.