Let's divide 362586 by 31
Let's see how many times 31 fits into 362586.

On to step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
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

Moving on to step 2:
31 can be fit into 36 1 times, resulting in a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 31 from 36 to get 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 31

Going ahead to step 3:
31 goes into 52 1 times with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 11.0
If we subtract 31 from 52, we get 21.
Take the next digit (5) from the dividend and append it to 21, then repeat: 215 / 31

On to step 4:
When dividing 215 by 31, we get 6 with a remainder of 29.
Write down 6 as next digit of the result. 
Result so far: 116.0
Deduct 186 from 215 and we're left with 29.
Bring next digit (8) of the dividend behind the 29 and repeat the process: 298 / 31

Step 5:
31 can be fit into 298 9 times, resulting in a remainder of 19.
Use 9 as the next digit of our solution. 
Result so far: 1169.0
If we take 279 away from 298, we end up with 19.
Bring next digit (6) of the dividend behind the 19 and repeat the process: 196 / 31

Moving on to step 6:
196 divided by 31 is 6 with a remainder of 10.
The next digit of our result is 6. 
Result so far: 11696.0
The remainder is 10 after subtracting 186 from 196.
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 7:
31 goes into 100 3 times with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 11696.3
Deduct 93 from 100 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 8:
70 divided by 31 is 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 11696.32
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 9:
When dividing 80 by 31, we get 2 with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 11696.322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 11696.322 with a remaining 0.0018.