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

Step 1:
3 divided by 17 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 17

Step 2:
17 goes into 31 1 times with a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 17 from 31 and we're left with 14.
Take the next digit (2) from the dividend and append it to 14, then repeat: 142 / 17

Going ahead to step 3:
17 goes into 142 8 times with a remainder of 6.
The next digit of our result is 8. 
Result so far: 18.0
Deduct 136 from 142 and we're left with 6.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 17

Let's proceed to step 4:
If we divide 67 by 17, we get 3 and a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 183.0
If we subtract 51 from 67, we get 16.
Bring next digit (3) of the dividend behind the 16 and repeat the process: 163 / 17

Let's proceed to step 5:
163 divided by 17 is 9 with a remainder of 10.
The number 9 becomes the next digit in our result. 
Result so far: 1839.0
If we subtract 153 from 163, we get 10.
Fetch the next digit (1) from the dividend, attach it to 10 and continue: 101 / 17

Going ahead to step 6:
When dividing 101 by 17, we get 5 with a remainder of 16.
Use 5 as the next digit of our solution. 
Result so far: 18395.0
Deduct 85 from 101 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.

Let's proceed to step 7:
17 goes into 160 9 times with a remainder of 7.
The next digit of our result is 9. 
Result so far: 18395.9
The remainder is 7 after subtracting 153 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 8:
17 can be fit into 70 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 18395.94
Subtract 68 from 70 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.

Let's proceed to step 9:
17 can be fit into 20 1 times, resulting in a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 18395.941
Subtracting 17 from 20 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 10:
30 divided by 17 is 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 18395.9411
If we take 17 away from 30, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 18395.9411 and a remainder of 0.00013.