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

Step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 31

Let's proceed to step 2:
59 divided by 31 is 1 with a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 31 from 59, we get 28.
Grab the next digit (5) from the dividend, add it to 28, then carry on: 285 / 31

Advancing to step 3:
The number 31 fits into 285 9 times, leaving a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
Subtract 279 from 285 to get 6.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 31

Step 4:
The number 31 fits into 64 2 times, leaving a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 192.0
The remainder is 2 after subtracting 62 from 64.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 31

Moving on to step 5:
31 goes into 27 0 times with a remainder of 27.
The next digit of our result is 0. 
Result so far: 1920.0
If we take 0 away from 27, we end up with 27.
Bring next digit (6) of the dividend behind the 27 and repeat the process: 276 / 31

Going ahead to step 6:
31 goes into 276 8 times with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 19208.0
Deduct 248 from 276 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 7:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 19208.9
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
10 divided by 31 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 19208.9
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 9:
When dividing 100 by 31, we get 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 19208.903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 10:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 19208.9032
Subtract 62 from 70 to 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.

Advancing to step 11:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 19208.90322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 19208.90322 and a remainder of 1.8e-05.