Let's divide 517715 by 31
We want to divide 517715 by 31.

Step 1:
31 can be fit into 5 0 times, resulting in 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 / 31

Advancing to step 2:
When dividing 51 by 31, we get 1 with a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 31 away from 51, we end up with 20.
Take the next digit (7) from the dividend and append it to 20, then repeat: 207 / 31

Let's proceed to step 3:
207 divided by 31 is 6 with a remainder of 21.
Put 6 as the next digit of the answer. 
Result so far: 16.0
The remainder is 21 after subtracting 186 from 207.
Grab the next digit (7) from the dividend, add it to 21, then carry on: 217 / 31

Advancing to step 4:
31 goes into 217 7 times with a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 167.0
If we take 217 away from 217, we end up with 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 31

Step 5:
1 divided by 31 is 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 1670.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 31

Moving on to step 6:
31 goes into 15 0 times with a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 16700.0
Subtract 0 from 15 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 7:
The number 31 fits into 150 4 times, leaving a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 16700.4
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 8:
31 goes into 260 8 times with a remainder of 12.
The next digit of our result is 8. 
Result so far: 16700.48
If we take 248 away from 260, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
120 divided by 31 is 3 with a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 16700.483
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 10:
When dividing 270 by 31, we get 8 with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 16700.4838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 11:
31 can be fit into 220 7 times, resulting in a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 16700.48387
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 12:
When dividing 30 by 31, we get 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 16700.48387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 13:
300 divided by 31 is 9 with a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 16700.4838709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 14:
210 divided by 31 is 6 with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 16700.48387096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

In conclusion, the division gives 16700.48387096 with a balance of 2.4e-08.