138871 divided by 39 
We're looking to find how many times 39 goes into 138871.

On to step 1:
The number 39 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 39

Advancing to step 2:
39 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.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 39

Advancing to step 3:
39 goes into 138 3 times with a remainder of 21.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we take 117 away from 138, we end up with 21.
Grab the next digit (8) from the dividend, add it to 21, then carry on: 218 / 39

Moving on to step 4:
39 goes into 218 5 times with a remainder of 23.
The number 5 becomes the next digit in our result. 
Result so far: 35.0
Subtract 195 from 218 to get 23.
Bring next digit (7) of the dividend behind the 23 and repeat the process: 237 / 39

Let's proceed to step 5:
39 goes into 237 6 times with a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 356.0
If we take 234 away from 237, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 39

Step 6:
The number 39 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 3560.0
If we take 0 away from 31, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 7:
The number 39 fits into 310 7 times, leaving a remainder of 37.
The next digit of our result is 7. 
Result so far: 3560.7
Deduct 273 from 310 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 8:
The number 39 fits into 370 9 times, leaving a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 3560.79
The remainder is 19 after subtracting 351 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 9:
The number 39 fits into 190 4 times, leaving a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 3560.794
Deduct 156 from 190 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 10:
39 goes into 340 8 times with a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 3560.7948
Subtract 312 from 340 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 11:
39 can be fit into 280 7 times, resulting in a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 3560.79487
If we subtract 273 from 280, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 12:
When dividing 70 by 39, we get 1 with a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 3560.794871
If we take 39 away from 70, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 13:
39 can be fit into 310 7 times, resulting in a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 3560.7948717
Deduct 273 from 310 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 14:
If we divide 370 by 39, we get 9 and a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 3560.79487179
Subtract 351 from 370 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

In conclusion, the division gives 3560.79487179 with a balance of 1.9e-08.