502759 divided by 31 
Our goal is to divide 502759 by 31.

Let's proceed to step 1:
31 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
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

Going ahead to step 2:
31 goes into 50 1 times with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 19 after subtracting 31 from 50.
Append the next digit (2) from the dividend to 19 and continue with: 192 / 31

Step 3:
When dividing 192 by 31, we get 6 with a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Deduct 186 from 192 and we're left with 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 31

Advancing to step 4:
If we divide 67 by 31, we get 2 and a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 162.0
Subtracting 62 from 67 leaves us with 5.
Append the next digit (5) from the dividend to 5 and continue with: 55 / 31

Moving on to step 5:
31 goes into 55 1 times with a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 1621.0
Subtracting 31 from 55 leaves us with 24.
Bring next digit (9) of the dividend behind the 24 and repeat the process: 249 / 31

Advancing to step 6:
If we divide 249 by 31, we get 8 and a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 16218.0
If we take 248 away from 249, we end up 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.

On to step 7:
10 divided by 31 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 16218.0
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
31 goes into 100 3 times with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 16218.03
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.

Advancing to step 9:
31 can be fit into 70 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 16218.032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 10:
When dividing 80 by 31, we get 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 16218.0322
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 16218.0322 and a remainder of 0.00018.