Let's divide 842124 by 42
Our goal is to divide 842124 by 42.

On to step 1:
42 can be fit into 8 0 times, resulting in a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 42

Advancing to step 2:
42 can be fit into 84 2 times, resulting in a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 84 away from 84, we end up with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 42

Moving on to step 3:
42 can be fit into 2 0 times, resulting in a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
If we take 0 away from 2, we end up with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 42

Going ahead to step 4:
If we divide 21 by 42, we get 0 and a remainder of 21.
The next digit of our result is 0. 
Result so far: 200.0
If we take 0 away from 21, we end up with 21.
Append the next digit (2) from the dividend to 21 and continue with: 212 / 42

Moving on to step 5:
212 divided by 42 is 5 with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 2005.0
Subtract 210 from 212 to get 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 42

Moving on to step 6:
24 divided by 42 is 0 with a remainder of 24.
Use 0 as the next digit of our solution. 
Result so far: 20050.0
Subtracting 0 from 24 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
When dividing 240 by 42, we get 5 with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 20050.5
If we subtract 210 from 240, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
42 goes into 300 7 times with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 20050.57
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 9:
If we divide 60 by 42, we get 1 and a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 20050.571
Subtracting 42 from 60 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 10:
When dividing 180 by 42, we get 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 20050.5714
If we subtract 168 from 180, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 11:
120 divided by 42 is 2 with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 20050.57142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 12:
If we divide 360 by 42, we get 8 and a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 20050.571428
If we take 336 away from 360, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 13:
When dividing 240 by 42, we get 5 with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 20050.5714285
Deduct 210 from 240 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 14:
42 can be fit into 300 7 times, resulting in a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 20050.57142857
If we take 294 away from 300, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 20050.57142857 with a remaining 6e-09.