We divide 592945 by 31
We want to figure out the number of times 592945 can be divided by 31.

On to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 31

On to step 2:
If we divide 59 by 31, we get 1 and 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.
Append the next digit (2) from the dividend to 28 and continue with: 282 / 31

Step 3:
If we divide 282 by 31, we get 9 and a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
The remainder is 3 after subtracting 279 from 282.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 31

Step 4:
The number 31 fits into 39 1 times, leaving a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 191.0
The remainder is 8 after subtracting 31 from 39.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 31

Step 5:
31 can be fit into 84 2 times, resulting in a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 1912.0
If we subtract 62 from 84, we get 22.
Include the next digit (5) from the dividend after 22, then repeat: 225 / 31

On to step 6:
When dividing 225 by 31, we get 7 with a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 19127.0
If we subtract 217 from 225, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 7:
31 can be fit into 80 2 times, resulting in a remainder of 18.
The next digit of our result is 2. 
Result so far: 19127.2
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 8:
If we divide 180 by 31, we get 5 and a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 19127.25
Subtract 155 from 180 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 9:
31 can be fit into 250 8 times, resulting in a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 19127.258
Subtracting 248 from 250 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 10:
31 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 19127.258
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
200 divided by 31 is 6 with a remainder of 14.
The next digit of our result is 6. 
Result so far: 19127.25806
If we take 186 away from 200, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 12:
If we divide 140 by 31, we get 4 and a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 19127.258064
The remainder is 16 after subtracting 124 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 13:
When dividing 160 by 31, we get 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 19127.2580645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 14:
31 goes into 50 1 times with a remainder of 19.
The next digit of our result is 1. 
Result so far: 19127.25806451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final result is 19127.25806451 with a remainder of 1.9e-08.