We divide 506546 by 42
We're looking to find how many times 42 goes into 506546.

Step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 42

Moving on to step 2:
When dividing 50 by 42, we get 1 with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 8 after subtracting 42 from 50.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 42

On to step 3:
86 divided by 42 is 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we take 84 away from 86, we end up with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 42

Going ahead to step 4:
When dividing 25 by 42, we get 0 with a remainder of 25.
Record the quotient 0 as the next digit in the result. 
Result so far: 120.0
The remainder is 25 after subtracting 0 from 25.
Fetch the next digit (4) from the dividend, attach it to 25 and continue: 254 / 42

Advancing to step 5:
The number 42 fits into 254 6 times, leaving a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 1206.0
The remainder is 2 after subtracting 252 from 254.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 42

Let's proceed to step 6:
42 goes into 26 0 times with a remainder of 26.
Write down 0 as next digit of the result. 
Result so far: 12060.0
The remainder is 26 after subtracting 0 from 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 7:
When dividing 260 by 42, we get 6 with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 12060.6
Subtract 252 from 260 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Use 1 as the next digit of our solution. 
Result so far: 12060.61
If we subtract 42 from 80, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 9:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 12060.619
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 10:
If we divide 20 by 42, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 12060.619
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
If we divide 200 by 42, we get 4 and a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 12060.61904
If we take 168 away from 200, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 12:
When dividing 320 by 42, we get 7 with a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 12060.619047
Subtract 294 from 320 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 13:
When dividing 260 by 42, we get 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 12060.6190476
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 14:
When dividing 80 by 42, we get 1 with a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 12060.61904761
Subtracting 42 from 80 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

After the division, we end up with 12060.61904761 and a remainder of 3.8e-08.