We divide 365393 by 31
We want to figure out the number of times 365393 can be divided by 31.

Moving on to step 1:
When dividing 3 by 31, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 31

Going ahead to step 2:
When dividing 36 by 31, we get 1 with a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 31 away from 36, we end up with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 31

Moving on to step 3:
When dividing 55 by 31, we get 1 with a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 11.0
If we take 31 away from 55, we end up with 24.
Bring next digit (3) of the dividend behind the 24 and repeat the process: 243 / 31

Step 4:
The number 31 fits into 243 7 times, leaving a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 117.0
Subtracting 217 from 243 leaves us with 26.
Append the next digit (9) from the dividend to 26 and continue with: 269 / 31

Let's proceed to step 5:
31 goes into 269 8 times with a remainder of 21.
Use 8 as the next digit of our solution. 
Result so far: 1178.0
If we take 248 away from 269, we end up with 21.
Grab the next digit (3) from the dividend, add it to 21, then carry on: 213 / 31

Let's proceed to step 6:
The number 31 fits into 213 6 times, leaving a remainder of 27.
Put 6 as the next digit of the answer. 
Result so far: 11786.0
Subtract 186 from 213 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.

Advancing to step 7:
270 divided by 31 is 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 11786.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.

Moving on to step 8:
31 goes into 220 7 times with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 11786.87
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.

On to step 9:
30 divided by 31 is 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 11786.87
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.

On to step 10:
31 goes into 300 9 times with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 11786.8709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 11:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 11786.87096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 12:
When dividing 240 by 31, we get 7 with a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 11786.870967
If we take 217 away from 240, we end up 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.

Step 13:
If we divide 230 by 31, we get 7 and a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 11786.8709677
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 11786.8709677, with a leftover of 1.3e-07.