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

On to step 1:
If we divide 8 by 42, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 42

On to step 2:
When dividing 84 by 42, we get 2 with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 84 away from 84, we end up with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 42

Let's proceed to step 3:
42 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 20.0
The remainder is 0 after subtracting 0 from 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 42

Step 4:
42 goes into 6 0 times with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 200.0
The remainder is 6 after subtracting 0 from 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 42

Moving on to step 5:
When dividing 65 by 42, we get 1 with a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 2001.0
If we subtract 42 from 65, we get 23.
Append the next digit (4) from the dividend to 23 and continue with: 234 / 42

Going ahead to step 6:
42 goes into 234 5 times with a remainder of 24.
The next digit of our result is 5. 
Result so far: 20015.0
Deduct 210 from 234 and we're left 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.

On to step 7:
The number 42 fits into 240 5 times, leaving a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 20015.5
The remainder is 30 after subtracting 210 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
If we divide 300 by 42, we get 7 and a remainder of 6.
The next digit of our result is 7. 
Result so far: 20015.57
Subtract 294 from 300 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 9:
If we divide 60 by 42, we get 1 and a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 20015.571
If we take 42 away from 60, we end up 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:
If we divide 180 by 42, we get 4 and a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 20015.5714
Subtracting 168 from 180 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 11:
42 can be fit into 120 2 times, resulting in a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 20015.57142
Deduct 84 from 120 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 12:
360 divided by 42 is 8 with a remainder of 24.
The next digit of our result is 8. 
Result so far: 20015.571428
Subtracting 336 from 360 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.

Moving on to step 13:
If we divide 240 by 42, we get 5 and a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 20015.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.

Advancing to step 14:
When dividing 300 by 42, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 20015.57142857
Subtract 294 from 300 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

After the division, we end up with 20015.57142857 and a remainder of 6e-09.