39871986 ÷ 542 
We want to divide 39871986 by 542.

Moving on to step 1:
542 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
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 / 542

Advancing to step 2:
The number 542 fits into 39 0 times, leaving a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Append the next digit (8) from the dividend to 39 and continue with: 398 / 542

Let's proceed to step 3:
If we divide 398 by 542, we get 0 and a remainder of 398.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 398 and we're left with 398.
Take the next digit (7) from the dividend and append it to 398, then repeat: 3987 / 542

Going ahead to step 4:
When dividing 3987 by 542, we get 7 with a remainder of 193.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 3794 away from 3987, we end up with 193.
Grab the next digit (1) from the dividend, add it to 193, then carry on: 1931 / 542

Let's proceed to step 5:
542 goes into 1931 3 times with a remainder of 305.
The next digit of our result is 3. 
Result so far: 73.0
The remainder is 305 after subtracting 1626 from 1931.
Take the next digit (9) from the dividend and append it to 305, then repeat: 3059 / 542

Let's proceed to step 6:
542 goes into 3059 5 times with a remainder of 349.
Put 5 as the next digit of the answer. 
Result so far: 735.0
Subtract 2710 from 3059 to get 349.
Grab the next digit (8) from the dividend, add it to 349, then carry on: 3498 / 542

Moving on to step 7:
When dividing 3498 by 542, we get 6 with a remainder of 246.
Record the quotient 6 as the next digit in the result. 
Result so far: 7356.0
If we take 3252 away from 3498, we end up with 246.
Fetch the next digit (6) from the dividend, attach it to 246 and continue: 2466 / 542

Going ahead to step 8:
The number 542 fits into 2466 4 times, leaving a remainder of 298.
Use 4 as the next digit of our solution. 
Result so far: 73564.0
If we take 2168 away from 2466, we end up with 298.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

Moving on to step 9:
When dividing 2980 by 542, we get 5 with a remainder of 270.
The next digit of our result is 5. 
Result so far: 73564.5
If we subtract 2710 from 2980, we get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Advancing to step 10:
If we divide 2700 by 542, we get 4 and a remainder of 532.
Use 4 as the next digit of our solution. 
Result so far: 73564.54
Deduct 2168 from 2700 and we're left with 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

Advancing to step 11:
If we divide 5320 by 542, we get 9 and a remainder of 442.
The number 9 becomes the next digit in our result. 
Result so far: 73564.549
The remainder is 442 after subtracting 4878 from 5320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

Going ahead to step 12:
4420 divided by 542 is 8 with a remainder of 84.
The number 8 becomes the next digit in our result. 
Result so far: 73564.5498
If we take 4336 away from 4420, we end up with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Step 13:
When dividing 840 by 542, we get 1 with a remainder of 298.
Use 1 as the next digit of our solution. 
Result so far: 73564.54981
If we subtract 542 from 840, we get 298.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

Step 14:
When dividing 2980 by 542, we get 5 with a remainder of 270.
Use 5 as the next digit of our solution. 
Result so far: 73564.549815
The remainder is 270 after subtracting 2710 from 2980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Let's proceed to step 15:
2700 divided by 542 is 4 with a remainder of 532.
Write down 4 as next digit of the result. 
Result so far: 73564.5498154
If we subtract 2168 from 2700, we get 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

On to step 16:
5320 divided by 542 is 9 with a remainder of 442.
Put 9 as the next digit of the answer. 
Result so far: 73564.54981549
Subtracting 4878 from 5320 leaves us with 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

After the division, we end up with 73564.54981549 and a remainder of 4.42e-07.