514986 divided by 31 
We're looking to find how many times 31 goes into 514986.

Let's proceed to step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 31

Moving on to step 2:
When dividing 51 by 31, we get 1 with a remainder of 20.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 31 from 51, we get 20.
Take the next digit (4) from the dividend and append it to 20, then repeat: 204 / 31

Step 3:
204 divided by 31 is 6 with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 16.0
Subtracting 186 from 204 leaves us with 18.
Take the next digit (9) from the dividend and append it to 18, then repeat: 189 / 31

Advancing to step 4:
If we divide 189 by 31, we get 6 and a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 166.0
The remainder is 3 after subtracting 186 from 189.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 31

Let's proceed to step 5:
31 can be fit into 38 1 times, resulting in a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1661.0
The remainder is 7 after subtracting 31 from 38.
Grab the next digit (6) from the dividend, add it to 7, then carry on: 76 / 31

On to step 6:
31 can be fit into 76 2 times, resulting in a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 16612.0
Subtract 62 from 76 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 7:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 16612.4
Deduct 124 from 140 and we're left with 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 8:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 16612.45
If we take 155 away from 160, we end up with 5.
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 9:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 16612.451
Deduct 31 from 50 and we're left 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 10:
When dividing 190 by 31, we get 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 16612.4516
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.

Going ahead to step 11:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 16612.45161
If we subtract 31 from 40, we 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.

Step 12:
31 goes into 90 2 times with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 16612.451612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 13:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 16612.4516129
Subtract 279 from 280 to 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.

On to step 14:
10 divided by 31 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 16612.4516129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 16612.4516129 with a balance of 1e-08.