Let's divide 158687 by 42
We want to figure out the number of times 158687 can be divided by 42.

Advancing to step 1:
When dividing 1 by 42, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 42

Let's proceed to step 2:
When dividing 15 by 42, we get 0 with a remainder of 15.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Grab the next digit (8) from the dividend, add it to 15, then carry on: 158 / 42

Going ahead to step 3:
If we divide 158 by 42, we get 3 and a remainder of 32.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 126 from 158 and we're left with 32.
Include the next digit (6) from the dividend after 32, then repeat: 326 / 42

Moving on to step 4:
42 goes into 326 7 times with a remainder of 32.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
If we take 294 away from 326, we end up with 32.
Fetch the next digit (8) from the dividend, attach it to 32 and continue: 328 / 42

On to step 5:
42 goes into 328 7 times with a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 377.0
The remainder is 34 after subtracting 294 from 328.
Grab the next digit (7) from the dividend, add it to 34, then carry on: 347 / 42

Step 6:
When dividing 347 by 42, we get 8 with a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 3778.0
Subtracting 336 from 347 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
42 can be fit into 110 2 times, resulting in a remainder of 26.
The next digit of our result is 2. 
Result so far: 3778.2
The remainder is 26 after subtracting 84 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 8:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 3778.26
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
42 can be fit into 80 1 times, resulting in a remainder of 38.
The next digit of our result is 1. 
Result so far: 3778.261
If we take 42 away from 80, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 10:
42 goes into 380 9 times with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 3778.2619
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 11:
42 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 3778.2619
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 12:
200 divided by 42 is 4 with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 3778.261904
Subtracting 168 from 200 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 13:
If we divide 320 by 42, we get 7 and a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 3778.2619047
If we take 294 away from 320, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 14:
42 goes into 260 6 times with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 3778.26190476
Subtract 252 from 260 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.

The final result is 3778.26190476 with a remainder of 8e-09.