We look at the division of 584505 by 31 
We're looking to find how many times 31 goes into 584505.

Advancing to step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 31

Advancing to step 2:
If we divide 58 by 31, we get 1 and a remainder of 27.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 31 from 58, we get 27.
Grab the next digit (4) from the dividend, add it to 27, then carry on: 274 / 31

Step 3:
The number 31 fits into 274 8 times, leaving a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtracting 248 from 274 leaves us with 26.
Take the next digit (5) from the dividend and append it to 26, then repeat: 265 / 31

Step 4:
When dividing 265 by 31, we get 8 with a remainder of 17.
The next digit of our result is 8. 
Result so far: 188.0
If we take 248 away from 265, we end up with 17.
Fetch the next digit (0) from the dividend, attach it to 17 and continue: 170 / 31

On to step 5:
If we divide 170 by 31, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 1885.0
Deduct 155 from 170 and we're left with 15.
Fetch the next digit (5) from the dividend, attach it to 15 and continue: 155 / 31

On to step 6:
31 can be fit into 155 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 18855.0
Subtract 155 from 155 to 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.

Moving on to step 7:
31 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 18855.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.

Advancing to step 8:
The number 31 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 18855.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.

Our division results in 18855.0 with a remaining 0.0.