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

Advancing to step 1:
When dividing 5 by 42, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 42

On to step 2:
42 can be fit into 54 1 times, resulting in a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 12 after subtracting 42 from 54.
Fetch the next digit (2) from the dividend, attach it to 12 and continue: 122 / 42

On to step 3:
When dividing 122 by 42, we get 2 with a remainder of 38.
The next digit of our result is 2. 
Result so far: 12.0
Deduct 84 from 122 and we're left with 38.
Take the next digit (5) from the dividend and append it to 38, then repeat: 385 / 42

On to step 4:
The number 42 fits into 385 9 times, leaving a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 129.0
If we subtract 378 from 385, we get 7.
Include the next digit (3) from the dividend after 7, then repeat: 73 / 42

Moving on to step 5:
73 divided by 42 is 1 with a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 1291.0
The remainder is 31 after subtracting 42 from 73.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 42

Step 6:
42 can be fit into 315 7 times, resulting in a remainder of 21.
Use 7 as the next digit of our solution. 
Result so far: 12917.0
The remainder is 21 after subtracting 294 from 315.
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 7:
210 divided by 42 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 12917.5
If we subtract 210 from 210, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 42 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 12917.5
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
When dividing 0 by 42, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 12917.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 12917.5 and a remainder of 0.0.