We're dividing 590949 by 31 
We want to figure out the number of times 590949 can be divided by 31.

On to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 31

Going ahead to step 2:
When dividing 59 by 31, we get 1 with a remainder of 28.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 31 away from 59, we end up with 28.
Take the next digit (0) from the dividend and append it to 28, then repeat: 280 / 31

Advancing to step 3:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 19.0
The remainder is 1 after subtracting 279 from 280.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 31

Advancing to step 4:
19 divided by 31 is 0 with a remainder of 19.
The number 0 becomes the next digit in our result. 
Result so far: 190.0
Subtract 0 from 19 to get 19.
Append the next digit (4) from the dividend to 19 and continue with: 194 / 31

On to step 5:
31 goes into 194 6 times with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 1906.0
The remainder is 8 after subtracting 186 from 194.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 31

On to step 6:
31 can be fit into 89 2 times, resulting in a remainder of 27.
The next digit of our result is 2. 
Result so far: 19062.0
Subtracting 62 from 89 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 7:
270 divided by 31 is 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 19062.8
Deduct 248 from 270 and we're left 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.

On to step 8:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 19062.87
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 9:
31 goes into 30 0 times with a remainder of 30.
The next digit of our result is 0. 
Result so far: 19062.87
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 10:
When dividing 300 by 31, we get 9 with a remainder of 21.
The next digit of our result is 9. 
Result so far: 19062.8709
Subtracting 279 from 300 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 11:
When dividing 210 by 31, we get 6 with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 19062.87096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 12:
When dividing 240 by 31, we get 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 19062.870967
Subtract 217 from 240 to 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.

On to step 13:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 19062.8709677
Subtracting 217 from 230 leaves us 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.

After the division, we end up with 19062.8709677 and a remainder of 1.3e-07.