We look at the division of 368059 by 31 
We're looking to find how many times 31 goes into 368059.

Going ahead 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 take 0 away from 3, we end up with 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 31

Moving on to step 2:
31 goes into 36 1 times with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 31 from 36 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 31

Step 3:
58 divided by 31 is 1 with a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Subtract 31 from 58 to get 27.
Grab the next digit (0) from the dividend, add it to 27, then carry on: 270 / 31

On to step 4:
When dividing 270 by 31, we get 8 with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 118.0
Subtract 248 from 270 to get 22.
Append the next digit (5) from the dividend to 22 and continue with: 225 / 31

Going ahead to step 5:
225 divided by 31 is 7 with a remainder of 8.
The next digit of our result is 7. 
Result so far: 1187.0
If we take 217 away from 225, we end up with 8.
Grab the next digit (9) from the dividend, add it to 8, then carry on: 89 / 31

Step 6:
When dividing 89 by 31, we get 2 with a remainder of 27.
The next digit of our result is 2. 
Result so far: 11872.0
Subtract 62 from 89 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 7:
31 can be fit into 270 8 times, resulting in a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 11872.8
If we take 248 away from 270, we end up 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.

Advancing to step 8:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 11872.87
If we take 217 away from 220, we end up 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.

Advancing to step 9:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 11872.87
Subtracting 0 from 30 leaves us with 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 10:
The number 31 fits into 300 9 times, leaving a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 11872.8709
If we subtract 279 from 300, we 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.

Step 11:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 11872.87096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
If we divide 240 by 31, we get 7 and a remainder of 23.
Write down 7 as next digit of the result. 
Result so far: 11872.870967
Deduct 217 from 240 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 13:
230 divided by 31 is 7 with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 11872.8709677
Subtracting 217 from 230 leaves us 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 11872.8709677 and a remainder of 1.3e-07.