3987 divided by 42 
Let's see how many times 42 fits into 3987.

Step 1:
If we divide 3 by 42, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 42

On to step 2:
42 goes into 39 0 times with a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Include the next digit (8) from the dividend after 39, then repeat: 398 / 42

Advancing to step 3:
When dividing 398 by 42, we get 9 with a remainder of 20.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtracting 378 from 398 leaves us with 20.
Include the next digit (7) from the dividend after 20, then repeat: 207 / 42

Going ahead to step 4:
When dividing 207 by 42, we get 4 with a remainder of 39.
Put 4 as the next digit of the answer. 
Result so far: 94.0
Subtract 168 from 207 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

On to step 5:
42 goes into 390 9 times with a remainder of 12.
The number 9 becomes the next digit in our result. 
Result so far: 94.9
Subtract 378 from 390 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 6:
When dividing 120 by 42, we get 2 with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 94.92
Deduct 84 from 120 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 7:
42 can be fit into 360 8 times, resulting in a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 94.928
Deduct 336 from 360 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
If we divide 240 by 42, we get 5 and a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 94.9285
Subtract 210 from 240 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 9:
42 can be fit into 300 7 times, resulting in a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 94.92857
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 10:
When dividing 60 by 42, we get 1 with a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 94.928571
Subtracting 42 from 60 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 11:
The number 42 fits into 180 4 times, leaving a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 94.9285714
Subtract 168 from 180 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 12:
The number 42 fits into 120 2 times, leaving a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 94.92857142
If we take 84 away from 120, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

The quotient of the division is 94.92857142, and the remainder is 3.6e-08.