We divide 596551 by 31
We're looking to find how many times 31 goes into 596551.

Going ahead to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 31

Let's proceed to step 2:
If we divide 59 by 31, we get 1 and a remainder of 28.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 31 from 59, we get 28.
Bring next digit (6) of the dividend behind the 28 and repeat the process: 286 / 31

Advancing to step 3:
286 divided by 31 is 9 with a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 19.0
The remainder is 7 after subtracting 279 from 286.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 31

Going ahead to step 4:
31 goes into 75 2 times with a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 192.0
Subtracting 62 from 75 leaves us with 13.
Take the next digit (5) from the dividend and append it to 13, then repeat: 135 / 31

Moving on to step 5:
31 can be fit into 135 4 times, resulting in a remainder of 11.
Put 4 as the next digit of the answer. 
Result so far: 1924.0
Subtracting 124 from 135 leaves us with 11.
Fetch the next digit (1) from the dividend, attach it to 11 and continue: 111 / 31

Going ahead to step 6:
When dividing 111 by 31, we get 3 with a remainder of 18.
The next digit of our result is 3. 
Result so far: 19243.0
Deduct 93 from 111 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.

Going ahead to step 7:
If we divide 180 by 31, we get 5 and a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 19243.5
The remainder is 25 after subtracting 155 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 8:
When dividing 250 by 31, we get 8 with a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 19243.58
If we subtract 248 from 250, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
When dividing 20 by 31, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 19243.58
If we take 0 away from 20, we end up 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.

Advancing to step 10:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 19243.5806
Subtract 186 from 200 to get 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 11:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 19243.58064
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 19243.580645
Deduct 155 from 160 and we're left 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.

Step 13:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 19243.5806451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 14:
190 divided by 31 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 19243.58064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 19243.58064516, with a leftover of 4e-09.