Let's divide 362717 by 31
We're looking to find how many times 31 goes into 362717.

Let's proceed to step 1:
31 goes into 3 0 times with 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.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 31

On to step 2:
If we divide 36 by 31, we get 1 and a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 31 from 36 and we're left with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 31

On to step 3:
If we divide 52 by 31, we get 1 and a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 11.0
If we subtract 31 from 52, we get 21.
Fetch the next digit (7) from the dividend, attach it to 21 and continue: 217 / 31

Let's proceed to step 4:
31 can be fit into 217 7 times, resulting in a remainder of 0.
The next digit of our result is 7. 
Result so far: 117.0
Subtract 217 from 217 to get 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 31

Going ahead to step 5:
The number 31 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 1170.0
Subtract 0 from 1 to get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 31

Step 6:
If we divide 17 by 31, we get 0 and a remainder of 17.
The number 0 becomes the next digit in our result. 
Result so far: 11700.0
The remainder is 17 after subtracting 0 from 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 7:
The number 31 fits into 170 5 times, leaving a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 11700.5
If we take 155 away from 170, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
31 goes into 150 4 times with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 11700.54
Deduct 124 from 150 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 9:
If we divide 260 by 31, we get 8 and a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 11700.548
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 10:
If we divide 120 by 31, we get 3 and a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 11700.5483
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 11:
31 goes into 270 8 times with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 11700.54838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 12:
If we divide 220 by 31, we get 7 and a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 11700.548387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 13:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The next digit of our result is 0. 
Result so far: 11700.548387
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 14:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 11700.54838709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The quotient of the division is 11700.54838709, and the remainder is 2.1e-08.