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

Going ahead to step 1:
31 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 31

On to step 2:
The number 31 fits into 50 1 times, leaving a remainder of 19.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 31 from 50 to get 19.
Grab the next digit (7) from the dividend, add it to 19, then carry on: 197 / 31

Step 3:
If we divide 197 by 31, we get 6 and a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Deduct 186 from 197 and we're left with 11.
Append the next digit (4) from the dividend to 11 and continue with: 114 / 31

Let's proceed to step 4:
31 goes into 114 3 times with a remainder of 21.
Put 3 as the next digit of the answer. 
Result so far: 163.0
Subtract 93 from 114 to get 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 31

Advancing to step 5:
The number 31 fits into 218 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 1637.0
Subtracting 217 from 218 leaves us with 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 31

Going ahead to step 6:
The number 31 fits into 14 0 times, leaving a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 16370.0
Subtracting 0 from 14 leaves us 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.

Moving on to step 7:
If we divide 140 by 31, we get 4 and a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 16370.4
Subtracting 124 from 140 leaves us 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.

Step 8:
31 goes into 160 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 16370.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.

On to step 9:
If we divide 50 by 31, we get 1 and a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 16370.451
Subtracting 31 from 50 leaves us 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.

Moving on to step 10:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 16370.4516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
31 can be fit into 40 1 times, resulting in a remainder of 9.
The next digit of our result is 1. 
Result so far: 16370.45161
The remainder is 9 after subtracting 31 from 40.
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 12:
31 goes into 90 2 times with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 16370.451612
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.

Advancing to step 13:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 16370.4516129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 14:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 16370.4516129
Subtract 0 from 10 to 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.

Our division results in 16370.4516129 with a remaining 1e-08.