Let's divide 517888 by 31
We're looking to find how many times 31 goes into 517888.

On to step 1:
31 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.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 31

Moving on to step 2:
When dividing 51 by 31, we get 1 with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 20 after subtracting 31 from 51.
Append the next digit (7) from the dividend to 20 and continue with: 207 / 31

Moving on to step 3:
207 divided by 31 is 6 with a remainder of 21.
The next digit of our result is 6. 
Result so far: 16.0
Subtracting 186 from 207 leaves us with 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 31

Moving on to step 4:
If we divide 218 by 31, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 167.0
If we subtract 217 from 218, we get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 31

Moving on to step 5:
If we divide 18 by 31, we get 0 and a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 1670.0
The remainder is 18 after subtracting 0 from 18.
Take the next digit (8) from the dividend and append it to 18, then repeat: 188 / 31

Advancing to step 6:
When dividing 188 by 31, we get 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 16706.0
If we take 186 away from 188, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
When dividing 20 by 31, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 16706.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
If we divide 200 by 31, we get 6 and a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 16706.06
Deduct 186 from 200 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
31 goes into 140 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 16706.064
Subtract 124 from 140 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.

Going ahead to step 10:
160 divided by 31 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 16706.0645
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
31 goes into 50 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 16706.06451
If we take 31 away from 50, we end up with 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 12:
190 divided by 31 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 16706.064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 13:
If we divide 40 by 31, we get 1 and a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 16706.0645161
Deduct 31 from 40 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 14:
The number 31 fits into 90 2 times, leaving a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 16706.06451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 16706.06451612, and the remainder is 2.8e-08.