We look at the division of 138385 by 31 
We want to divide 138385 by 31.

Step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 31

Step 2:
31 goes into 13 0 times with a remainder of 13.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 13 after subtracting 0 from 13.
Bring next digit (8) of the dividend behind the 13 and repeat the process: 138 / 31

Let's proceed to step 3:
31 goes into 138 4 times with a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 124 away from 138, we end up with 14.
Include the next digit (3) from the dividend after 14, then repeat: 143 / 31

Let's proceed to step 4:
31 goes into 143 4 times with a remainder of 19.
Use 4 as the next digit of our solution. 
Result so far: 44.0
If we subtract 124 from 143, we get 19.
Bring next digit (8) of the dividend behind the 19 and repeat the process: 198 / 31

Step 5:
31 can be fit into 198 6 times, resulting in a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 446.0
If we subtract 186 from 198, we get 12.
Grab the next digit (5) from the dividend, add it to 12, then carry on: 125 / 31

On to step 6:
The number 31 fits into 125 4 times, leaving a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 4464.0
Deduct 124 from 125 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
10 divided by 31 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 4464.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
100 divided by 31 is 3 with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 4464.03
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 9:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 4464.032
Subtract 62 from 70 to get 8.
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 10:
When dividing 80 by 31, we get 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 4464.0322
Subtract 62 from 80 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 4464.0322 with a remainder of 0.00018.