840712 divided by 42 
We're looking to find how many times 42 goes into 840712.

Moving on to step 1:
42 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 42

Let's proceed 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
Deduct 84 from 84 and we're left with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 42

Advancing to step 3:
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: 20.0
If we take 0 away from 0, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 42

Moving on to step 4:
The number 42 fits into 7 0 times, leaving a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 200.0
The remainder is 7 after subtracting 0 from 7.
Append the next digit (1) from the dividend to 7 and continue with: 71 / 42

Step 5:
42 can be fit into 71 1 times, resulting in a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 2001.0
If we subtract 42 from 71, we get 29.
Include the next digit (2) from the dividend after 29, then repeat: 292 / 42

Moving on to step 6:
When dividing 292 by 42, we get 6 with a remainder of 40.
The number 6 becomes the next digit in our result. 
Result so far: 20016.0
Deduct 252 from 292 and we're left 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.

Going ahead to step 7:
The number 42 fits into 400 9 times, leaving a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 20016.9
Subtract 378 from 400 to 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.

On to step 8:
42 goes into 220 5 times with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 20016.95
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.

Let's proceed to step 9:
42 goes into 100 2 times with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 20016.952
If we subtract 84 from 100, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
The number 42 fits into 160 3 times, leaving a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 20016.9523
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.

Let's proceed to step 11:
If we divide 340 by 42, we get 8 and a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 20016.95238
If we take 336 away from 340, we end up 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 12:
42 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 20016.95238
Subtracting 0 from 40 leaves us 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.

Step 13:
400 divided by 42 is 9 with a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 20016.9523809
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.

Let's proceed to step 14:
When dividing 220 by 42, we get 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 20016.95238095
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

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