We divide 542251 by 42
We want to figure out the number of times 542251 can be divided by 42.

Going ahead to step 1:
When dividing 5 by 42, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 42

Step 2:
54 divided by 42 is 1 with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 42 from 54, we get 12.
Bring next digit (2) of the dividend behind the 12 and repeat the process: 122 / 42

Let's proceed to step 3:
When dividing 122 by 42, we get 2 with a remainder of 38.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we subtract 84 from 122, we get 38.
Include the next digit (2) from the dividend after 38, then repeat: 382 / 42

Step 4:
The number 42 fits into 382 9 times, leaving a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 129.0
Subtracting 378 from 382 leaves us with 4.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 42

Moving on to step 5:
45 divided by 42 is 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 1291.0
If we subtract 42 from 45, we get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 42

Going ahead to step 6:
42 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 12910.0
If we subtract 0 from 31, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 7:
If we divide 310 by 42, we get 7 and a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 12910.7
If we subtract 294 from 310, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
If we divide 160 by 42, we get 3 and a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 12910.73
Subtracting 126 from 160 leaves us 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 9:
42 can be fit into 340 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 12910.738
Deduct 336 from 340 and we're left 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.

Going ahead to step 10:
When dividing 40 by 42, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 12910.738
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 11:
400 divided by 42 is 9 with a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 12910.73809
Deduct 378 from 400 and we're left 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.

On to step 12:
If we divide 220 by 42, we get 5 and a remainder of 10.
The next digit of our result is 5. 
Result so far: 12910.738095
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 13:
When dividing 100 by 42, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 12910.7380952
If we take 84 away from 100, we end up 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.

On to step 14:
When dividing 160 by 42, we get 3 with a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 12910.73809523
The remainder is 34 after subtracting 126 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final outcome is 12910.73809523, with a leftover of 3.4e-08.