We divide 542749 by 42
Our goal is to divide 542749 by 42.

Let's proceed to step 1:
5 divided by 42 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 42

Going ahead to step 2:
54 divided by 42 is 1 with a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 42 from 54 and we're left with 12.
Bring next digit (2) of the dividend behind the 12 and repeat the process: 122 / 42

Step 3:
42 can be fit into 122 2 times, resulting in a remainder of 38.
The next digit of our result is 2. 
Result so far: 12.0
If we subtract 84 from 122, we get 38.
Fetch the next digit (7) from the dividend, attach it to 38 and continue: 387 / 42

Step 4:
387 divided by 42 is 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 129.0
If we subtract 378 from 387, we get 9.
Bring next digit (4) of the dividend behind the 9 and repeat the process: 94 / 42

Going ahead to step 5:
42 goes into 94 2 times with a remainder of 10.
Record the quotient 2 as the next digit in the result. 
Result so far: 1292.0
Deduct 84 from 94 and we're left with 10.
Fetch the next digit (9) from the dividend, attach it to 10 and continue: 109 / 42

Going ahead to step 6:
The number 42 fits into 109 2 times, leaving a remainder of 25.
Use 2 as the next digit of our solution. 
Result so far: 12922.0
If we subtract 84 from 109, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
If we divide 250 by 42, we get 5 and a remainder of 40.
The number 5 becomes the next digit in our result. 
Result so far: 12922.5
The remainder is 40 after subtracting 210 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 8:
42 goes into 400 9 times with a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 12922.59
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 9:
When dividing 220 by 42, we get 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 12922.595
Subtract 210 from 220 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 10:
If we divide 100 by 42, we get 2 and a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 12922.5952
Subtracting 84 from 100 leaves us 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.

Let's proceed to step 11:
The number 42 fits into 160 3 times, leaving a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 12922.59523
If we take 126 away from 160, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 12:
When dividing 340 by 42, we get 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 12922.595238
Subtracting 336 from 340 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 13:
When dividing 40 by 42, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 12922.595238
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 14:
When dividing 400 by 42, we get 9 with a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 12922.59523809
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 12922.59523809, with a leftover of 2.2e-08.