562860 divided by 31 
We want to divide 562860 by 31.

Advancing to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 31

Advancing to step 2:
31 goes into 56 1 times with a remainder of 25.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 31 from 56 leaves us with 25.
Append the next digit (2) from the dividend to 25 and continue with: 252 / 31

Step 3:
The number 31 fits into 252 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtracting 248 from 252 leaves us with 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 31

On to step 4:
48 divided by 31 is 1 with a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 181.0
Deduct 31 from 48 and we're left with 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 31

Step 5:
When dividing 176 by 31, we get 5 with a remainder of 21.
Put 5 as the next digit of the answer. 
Result so far: 1815.0
The remainder is 21 after subtracting 155 from 176.
Include the next digit (0) from the dividend after 21, then repeat: 210 / 31

Step 6:
31 can be fit into 210 6 times, resulting in a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 18156.0
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 7:
240 divided by 31 is 7 with a remainder of 23.
The next digit of our result is 7. 
Result so far: 18156.7
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 8:
When dividing 230 by 31, we get 7 with a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 18156.77
Deduct 217 from 230 and we're left 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.

Our division results in 18156.77 with a remaining 0.013.