We look at the division of 506020 by 42 
Let's see how many times 42 fits into 506020.

On to step 1:
5 divided by 42 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 42

Moving on to step 2:
If we divide 50 by 42, we get 1 and a remainder of 8.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 42 from 50 leaves us with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 42

Going ahead to step 3:
If we divide 86 by 42, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
The remainder is 2 after subtracting 84 from 86.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 42

Going ahead to step 4:
42 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 120.0
Deduct 0 from 20 and we're left with 20.
Take the next digit (2) from the dividend and append it to 20, then repeat: 202 / 42

Advancing to step 5:
42 goes into 202 4 times with a remainder of 34.
Put 4 as the next digit of the answer. 
Result so far: 1204.0
Subtract 168 from 202 to get 34.
Append the next digit (0) from the dividend to 34 and continue with: 340 / 42

Advancing to step 6:
42 goes into 340 8 times with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 12048.0
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.

Step 7:
The number 42 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 12048.0
If we take 0 away from 40, we end up with 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 8:
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: 12048.09
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:
42 can be fit into 220 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 12048.095
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.

Going ahead to step 10:
42 can be fit into 100 2 times, resulting in a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 12048.0952
The remainder is 16 after subtracting 84 from 100.
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:
160 divided by 42 is 3 with a remainder of 34.
The next digit of our result is 3. 
Result so far: 12048.09523
Deduct 126 from 160 and we're left 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.

Going ahead to step 12:
The number 42 fits into 340 8 times, leaving a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 12048.095238
If we subtract 336 from 340, we get 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 13:
The number 42 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 12048.095238
Subtract 0 from 40 to 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.

Going ahead to step 14:
The number 42 fits into 400 9 times, leaving a remainder of 22.
The next digit of our result is 9. 
Result so far: 12048.09523809
If we subtract 378 from 400, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

In conclusion, the division gives 12048.09523809 with a balance of 2.2e-08.