We divide 138749 by 18
We're looking to find how many times 18 goes into 138749.

Advancing to step 1:
The number 18 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 18

On to step 2:
18 can be fit into 13 0 times, resulting in a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 13, we end up with 13.
Grab the next digit (8) from the dividend, add it to 13, then carry on: 138 / 18

Moving on to step 3:
138 divided by 18 is 7 with a remainder of 12.
The next digit of our result is 7. 
Result so far: 7.0
Deduct 126 from 138 and we're left with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 18

Advancing to step 4:
The number 18 fits into 127 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 77.0
Subtracting 126 from 127 leaves us with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 18

On to step 5:
14 divided by 18 is 0 with a remainder of 14.
Record the quotient 0 as the next digit in the result. 
Result so far: 770.0
Subtracting 0 from 14 leaves us with 14.
Append the next digit (9) from the dividend to 14 and continue with: 149 / 18

Step 6:
18 goes into 149 8 times with a remainder of 5.
The next digit of our result is 8. 
Result so far: 7708.0
Subtract 144 from 149 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
50 divided by 18 is 2 with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 7708.2
The remainder is 14 after subtracting 36 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
If we divide 140 by 18, we get 7 and a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 7708.27
Deduct 126 from 140 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 9:
18 can be fit into 140 7 times, resulting in a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 7708.277
The remainder is 14 after subtracting 126 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 7708.277 and a remainder of 0.0014.