Let's divide 591048 by 31
We want to figure out the number of times 591048 can be divided by 31.

Advancing 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
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 31

Moving on to step 2:
59 divided by 31 is 1 with a remainder of 28.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 31 from 59 leaves us with 28.
Include the next digit (1) from the dividend after 28, then repeat: 281 / 31

Moving on to step 3:
When dividing 281 by 31, we get 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 19.0
The remainder is 2 after subtracting 279 from 281.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 31

On to step 4:
The number 31 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 190.0
Deduct 0 from 20 and we're left with 20.
Bring next digit (4) of the dividend behind the 20 and repeat the process: 204 / 31

Advancing to step 5:
When dividing 204 by 31, we get 6 with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 1906.0
Subtracting 186 from 204 leaves us with 18.
Bring next digit (8) of the dividend behind the 18 and repeat the process: 188 / 31

Let's proceed to step 6:
When dividing 188 by 31, we get 6 with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 19066.0
Subtract 186 from 188 to 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.

Advancing to step 7:
The number 31 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 19066.0
The remainder is 20 after subtracting 0 from 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 8:
When dividing 200 by 31, we get 6 with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 19066.06
Deduct 186 from 200 and we're left 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.

Advancing to step 9:
When dividing 140 by 31, we get 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 19066.064
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
If we divide 160 by 31, we get 5 and a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 19066.0645
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 11:
50 divided by 31 is 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 19066.06451
Subtract 31 from 50 to 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.

On to step 12:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 19066.064516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 13:
31 goes into 40 1 times with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 19066.0645161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 14:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 19066.06451612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final outcome is 19066.06451612, with a leftover of 2.8e-08.