We divide 585559 by 31
We want to divide 585559 by 31.

Moving on to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 31

Step 2:
58 divided by 31 is 1 with a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 31 from 58, we get 27.
Bring next digit (5) of the dividend behind the 27 and repeat the process: 275 / 31

Moving on to step 3:
The number 31 fits into 275 8 times, leaving a remainder of 27.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we take 248 away from 275, we end up with 27.
Take the next digit (5) from the dividend and append it to 27, then repeat: 275 / 31

Step 4:
31 goes into 275 8 times with a remainder of 27.
The next digit of our result is 8. 
Result so far: 188.0
Subtracting 248 from 275 leaves us with 27.
Bring next digit (5) of the dividend behind the 27 and repeat the process: 275 / 31

Advancing to step 5:
The number 31 fits into 275 8 times, leaving a remainder of 27.
Write down 8 as next digit of the result. 
Result so far: 1888.0
Deduct 248 from 275 and we're left with 27.
Take the next digit (9) from the dividend and append it to 27, then repeat: 279 / 31

On to step 6:
When dividing 279 by 31, we get 9 with a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 18889.0
If we subtract 279 from 279, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
If we divide 0 by 31, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 18889.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 31 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 18889.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 18889.0 with a remainder of 0.0.