We're dividing 589728 by 31 
Let's see how many times 31 fits into 589728.

Going ahead to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 31

Moving on to step 2:
The number 31 fits into 58 1 times, leaving a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 31 from 58 to get 27.
Grab the next digit (9) from the dividend, add it to 27, then carry on: 279 / 31

Going ahead to step 3:
The number 31 fits into 279 9 times, leaving a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Deduct 279 from 279 and we're left with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 31

Let's proceed to step 4:
31 goes into 7 0 times with a remainder of 7.
The next digit of our result is 0. 
Result so far: 190.0
If we take 0 away from 7, we end up with 7.
Bring next digit (2) of the dividend behind the 7 and repeat the process: 72 / 31

Let's proceed to step 5:
If we divide 72 by 31, we get 2 and a remainder of 10.
The next digit of our result is 2. 
Result so far: 1902.0
If we subtract 62 from 72, we get 10.
Append the next digit (8) from the dividend to 10 and continue with: 108 / 31

Advancing to step 6:
31 goes into 108 3 times with a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 19023.0
If we subtract 93 from 108, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
150 divided by 31 is 4 with a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 19023.4
The remainder is 26 after subtracting 124 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 8:
If we divide 260 by 31, we get 8 and a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 19023.48
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
When dividing 120 by 31, we get 3 with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 19023.483
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 10:
31 goes into 270 8 times with a remainder of 22.
The next digit of our result is 8. 
Result so far: 19023.4838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 11:
31 can be fit into 220 7 times, resulting in a remainder of 3.
The next digit of our result is 7. 
Result so far: 19023.48387
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 12:
When dividing 30 by 31, we get 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 19023.48387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
31 goes into 300 9 times with a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 19023.4838709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 14:
When dividing 210 by 31, we get 6 with a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 19023.48387096
Deduct 186 from 210 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Our division results in 19023.48387096 with a remaining 2.4e-08.