We're dividing 39980109 by 542 
We're looking to find how many times 542 goes into 39980109.

Let's proceed to step 1:
When dividing 3 by 542, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 542

Going ahead to step 2:
542 goes into 39 0 times with a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 542

On to step 3:
542 goes into 399 0 times with a remainder of 399.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 399 leaves us with 399.
Fetch the next digit (8) from the dividend, attach it to 399 and continue: 3998 / 542

Step 4:
When dividing 3998 by 542, we get 7 with a remainder of 204.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
Subtracting 3794 from 3998 leaves us with 204.
Fetch the next digit (0) from the dividend, attach it to 204 and continue: 2040 / 542

Let's proceed to step 5:
The number 542 fits into 2040 3 times, leaving a remainder of 414.
Put 3 as the next digit of the answer. 
Result so far: 73.0
Subtract 1626 from 2040 to get 414.
Take the next digit (1) from the dividend and append it to 414, then repeat: 4141 / 542

Moving on to step 6:
4141 divided by 542 is 7 with a remainder of 347.
The number 7 becomes the next digit in our result. 
Result so far: 737.0
Subtract 3794 from 4141 to get 347.
Grab the next digit (0) from the dividend, add it to 347, then carry on: 3470 / 542

On to step 7:
542 can be fit into 3470 6 times, resulting in a remainder of 218.
Put 6 as the next digit of the answer. 
Result so far: 7376.0
If we subtract 3252 from 3470, we get 218.
Take the next digit (9) from the dividend and append it to 218, then repeat: 2189 / 542

Going ahead to step 8:
When dividing 2189 by 542, we get 4 with a remainder of 21.
The number 4 becomes the next digit in our result. 
Result so far: 73764.0
Subtract 2168 from 2189 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 9:
When dividing 210 by 542, we get 0 with a remainder of 210.
Use 0 as the next digit of our solution. 
Result so far: 73764.0
Subtracting 0 from 210 leaves us with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Step 10:
542 can be fit into 2100 3 times, resulting in a remainder of 474.
Use 3 as the next digit of our solution. 
Result so far: 73764.03
Subtracting 1626 from 2100 leaves us with 474.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4740, and continue the process.

Step 11:
If we divide 4740 by 542, we get 8 and a remainder of 404.
Record the quotient 8 as the next digit in the result. 
Result so far: 73764.038
The remainder is 404 after subtracting 4336 from 4740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Step 12:
If we divide 4040 by 542, we get 7 and a remainder of 246.
Put 7 as the next digit of the answer. 
Result so far: 73764.0387
The remainder is 246 after subtracting 3794 from 4040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Moving on to step 13:
542 can be fit into 2460 4 times, resulting in a remainder of 292.
The next digit of our result is 4. 
Result so far: 73764.03874
Deduct 2168 from 2460 and we're left with 292.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2920, and continue the process.

Moving on to step 14:
542 goes into 2920 5 times with a remainder of 210.
Record the quotient 5 as the next digit in the result. 
Result so far: 73764.038745
Deduct 2710 from 2920 and we're left with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Advancing to step 15:
542 can be fit into 2100 3 times, resulting in a remainder of 474.
The next digit of our result is 3. 
Result so far: 73764.0387453
Deduct 1626 from 2100 and we're left with 474.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4740, and continue the process.

On to step 16:
4740 divided by 542 is 8 with a remainder of 404.
Record the quotient 8 as the next digit in the result. 
Result so far: 73764.03874538
The remainder is 404 after subtracting 4336 from 4740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

The quotient of the division is 73764.03874538, and the remainder is 4.04e-07.