We look at the division of 31803164 by 586 
We want to figure out the number of times 31803164 can be divided by 586.

Advancing to step 1:
The number 586 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 586

Going ahead to step 2:
The number 586 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Include the next digit (8) from the dividend after 31, then repeat: 318 / 586

Advancing to step 3:
The number 586 fits into 318 0 times, leaving a remainder of 318.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 318 to get 318.
Fetch the next digit (0) from the dividend, attach it to 318 and continue: 3180 / 586

Let's proceed to step 4:
586 goes into 3180 5 times with a remainder of 250.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 2930 from 3180 to get 250.
Include the next digit (3) from the dividend after 250, then repeat: 2503 / 586

Advancing to step 5:
If we divide 2503 by 586, we get 4 and a remainder of 159.
The next digit of our result is 4. 
Result so far: 54.0
Subtracting 2344 from 2503 leaves us with 159.
Append the next digit (1) from the dividend to 159 and continue with: 1591 / 586

On to step 6:
If we divide 1591 by 586, we get 2 and a remainder of 419.
Use 2 as the next digit of our solution. 
Result so far: 542.0
Deduct 1172 from 1591 and we're left with 419.
Append the next digit (6) from the dividend to 419 and continue with: 4196 / 586

Let's proceed to step 7:
If we divide 4196 by 586, we get 7 and a remainder of 94.
Use 7 as the next digit of our solution. 
Result so far: 5427.0
Subtracting 4102 from 4196 leaves us with 94.
Fetch the next digit (4) from the dividend, attach it to 94 and continue: 944 / 586

Going ahead to step 8:
586 goes into 944 1 times with a remainder of 358.
Write down 1 as next digit of the result. 
Result so far: 54271.0
Deduct 586 from 944 and we're left with 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Step 9:
The number 586 fits into 3580 6 times, leaving a remainder of 64.
The next digit of our result is 6. 
Result so far: 54271.6
If we take 3516 away from 3580, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 10:
When dividing 640 by 586, we get 1 with a remainder of 54.
Write down 1 as next digit of the result. 
Result so far: 54271.61
If we subtract 586 from 640, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 11:
586 goes into 540 0 times with a remainder of 540.
Record the quotient 0 as the next digit in the result. 
Result so far: 54271.61
If we subtract 0 from 540, we get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Step 12:
If we divide 5400 by 586, we get 9 and a remainder of 126.
Use 9 as the next digit of our solution. 
Result so far: 54271.6109
If we subtract 5274 from 5400, we get 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Going ahead to step 13:
586 goes into 1260 2 times with a remainder of 88.
Record the quotient 2 as the next digit in the result. 
Result so far: 54271.61092
Subtract 1172 from 1260 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Moving on to step 14:
586 can be fit into 880 1 times, resulting in a remainder of 294.
The next digit of our result is 1. 
Result so far: 54271.610921
Subtract 586 from 880 to get 294.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

On to step 15:
If we divide 2940 by 586, we get 5 and a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 54271.6109215
Subtract 2930 from 2940 to 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.

Advancing to step 16:
If we divide 100 by 586, we get 0 and a remainder of 100.
The next digit of our result is 0. 
Result so far: 54271.6109215
Subtracting 0 from 100 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

The quotient of the division is 54271.6109215, and the remainder is 1e-07.