We're dividing 124782 by 42 
Our goal is to divide 124782 by 42.

Advancing to step 1:
42 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 42

Moving on to step 2:
42 goes into 12 0 times with a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 12, we get 12.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 42

Going ahead to step 3:
42 can be fit into 124 2 times, resulting in a remainder of 40.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 84 from 124 to get 40.
Take the next digit (7) from the dividend and append it to 40, then repeat: 407 / 42

On to step 4:
42 can be fit into 407 9 times, resulting in a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
Deduct 378 from 407 and we're left with 29.
Include the next digit (8) from the dividend after 29, then repeat: 298 / 42

Moving on to step 5:
298 divided by 42 is 7 with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 297.0
If we take 294 away from 298, we end up with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 42

Advancing to step 6:
When dividing 42 by 42, we get 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 2971.0
The remainder is 0 after subtracting 42 from 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
If we divide 0 by 42, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 2971.0
Subtracting 0 from 0 leaves us 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.

Moving on to step 8:
If we divide 0 by 42, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 2971.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 2971.0 with a remainder of 0.0.