513717 ÷ 31 
Our goal is to divide 513717 by 31.

Let's proceed to step 1:
5 divided by 31 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 31

Advancing to step 2:
The number 31 fits into 51 1 times, leaving a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 31 away from 51, we end up with 20.
Bring next digit (3) of the dividend behind the 20 and repeat the process: 203 / 31

Let's proceed to step 3:
31 goes into 203 6 times with a remainder of 17.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
The remainder is 17 after subtracting 186 from 203.
Grab the next digit (7) from the dividend, add it to 17, then carry on: 177 / 31

Advancing to step 4:
The number 31 fits into 177 5 times, leaving a remainder of 22.
The next digit of our result is 5. 
Result so far: 165.0
Subtract 155 from 177 to get 22.
Include the next digit (1) from the dividend after 22, then repeat: 221 / 31

Moving on to step 5:
31 goes into 221 7 times with a remainder of 4.
The next digit of our result is 7. 
Result so far: 1657.0
If we subtract 217 from 221, we get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 31

Going ahead to step 6:
47 divided by 31 is 1 with a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 16571.0
Subtract 31 from 47 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
31 goes into 160 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 16571.5
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
If we divide 50 by 31, we get 1 and a remainder of 19.
The next digit of our result is 1. 
Result so far: 16571.51
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 9:
190 divided by 31 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 16571.516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
When dividing 40 by 31, we get 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 16571.5161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 11:
90 divided by 31 is 2 with a remainder of 28.
The next digit of our result is 2. 
Result so far: 16571.51612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 12:
280 divided by 31 is 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 16571.516129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 16571.516129
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 16571.51612903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The quotient of the division is 16571.51612903, and the remainder is 7e-09.