507035 ÷ 31 
Let's see how many times 31 fits into 507035.

Let's proceed to step 1:
31 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 31

On to step 2:
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: 1.0
Subtracting 31 from 50 leaves us with 19.
Include the next digit (7) from the dividend after 19, then repeat: 197 / 31

Advancing to step 3:
If we divide 197 by 31, we get 6 and a remainder of 11.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Subtract 186 from 197 to get 11.
Fetch the next digit (0) from the dividend, attach it to 11 and continue: 110 / 31

Going ahead to step 4:
110 divided by 31 is 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 163.0
Subtract 93 from 110 to get 17.
Grab the next digit (3) from the dividend, add it to 17, then carry on: 173 / 31

Going ahead to step 5:
173 divided by 31 is 5 with a remainder of 18.
The number 5 becomes the next digit in our result. 
Result so far: 1635.0
If we subtract 155 from 173, we get 18.
Include the next digit (5) from the dividend after 18, then repeat: 185 / 31

On to step 6:
If we divide 185 by 31, we get 5 and a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 16355.0
If we subtract 155 from 185, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 7:
The number 31 fits into 300 9 times, leaving a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 16355.9
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 8:
The number 31 fits into 210 6 times, leaving a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 16355.96
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 9:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 16355.967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 10:
230 divided by 31 is 7 with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 16355.9677
Subtracting 217 from 230 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 16355.9677 and a remainder of 0.00013.