Let's divide 138967 by 87
Let's see how many times 87 fits into 138967.

Step 1:
If we divide 1 by 87, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 87

Let's proceed to step 2:
13 divided by 87 is 0 with a remainder of 13.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 13, we get 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 87

On to step 3:
The number 87 fits into 138 1 times, leaving a remainder of 51.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 87 from 138 to get 51.
Grab the next digit (9) from the dividend, add it to 51, then carry on: 519 / 87

On to step 4:
If we divide 519 by 87, we get 5 and a remainder of 84.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Subtracting 435 from 519 leaves us with 84.
Take the next digit (6) from the dividend and append it to 84, then repeat: 846 / 87

On to step 5:
846 divided by 87 is 9 with a remainder of 63.
Use 9 as the next digit of our solution. 
Result so far: 159.0
The remainder is 63 after subtracting 783 from 846.
Bring next digit (7) of the dividend behind the 63 and repeat the process: 637 / 87

Step 6:
If we divide 637 by 87, we get 7 and a remainder of 28.
The number 7 becomes the next digit in our result. 
Result so far: 1597.0
If we subtract 609 from 637, we 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.

Moving on to step 7:
87 can be fit into 280 3 times, resulting in a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 1597.3
If we take 261 away from 280, we end up with 19.
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 8:
87 goes into 190 2 times with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 1597.32
If we take 174 away from 190, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
The number 87 fits into 160 1 times, leaving a remainder of 73.
Record the quotient 1 as the next digit in the result. 
Result so far: 1597.321
The remainder is 73 after subtracting 87 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Going ahead to step 10:
If we divide 730 by 87, we get 8 and a remainder of 34.
Write down 8 as next digit of the result. 
Result so far: 1597.3218
The remainder is 34 after subtracting 696 from 730.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 11:
87 goes into 340 3 times with a remainder of 79.
Use 3 as the next digit of our solution. 
Result so far: 1597.32183
If we subtract 261 from 340, we get 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Step 12:
87 goes into 790 9 times with a remainder of 7.
Put 9 as the next digit of the answer. 
Result so far: 1597.321839
The remainder is 7 after subtracting 783 from 790.
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 13:
87 can be fit into 70 0 times, resulting in a remainder of 70.
Use 0 as the next digit of our solution. 
Result so far: 1597.321839
Deduct 0 from 70 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 14:
87 goes into 700 8 times with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 1597.32183908
The remainder is 4 after subtracting 696 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 1597.32183908 and a remainder of 4e-09.