We look at the division of 796701 by 42 
We're looking to find how many times 42 goes into 796701.

Moving on to step 1:
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: 0.0
Subtracting 0 from 7 leaves us with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 42

Advancing to step 2:
The number 42 fits into 79 1 times, leaving a remainder of 37.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 42 from 79 leaves us with 37.
Fetch the next digit (6) from the dividend, attach it to 37 and continue: 376 / 42

Step 3:
42 can be fit into 376 8 times, resulting in a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we subtract 336 from 376, we get 40.
Append the next digit (7) from the dividend to 40 and continue with: 407 / 42

Going ahead to step 4:
42 goes into 407 9 times with a remainder of 29.
Use 9 as the next digit of our solution. 
Result so far: 189.0
Subtracting 378 from 407 leaves us with 29.
Append the next digit (0) from the dividend to 29 and continue with: 290 / 42

Moving on to step 5:
The number 42 fits into 290 6 times, leaving a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 1896.0
If we subtract 252 from 290, we get 38.
Fetch the next digit (1) from the dividend, attach it to 38 and continue: 381 / 42

On to step 6:
When dividing 381 by 42, we get 9 with a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 18969.0
Deduct 378 from 381 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
30 divided by 42 is 0 with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 18969.0
Subtracting 0 from 30 leaves us 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 8:
When dividing 300 by 42, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 18969.07
Deduct 294 from 300 and we're left 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.

Going ahead to step 9:
When dividing 60 by 42, we get 1 with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 18969.071
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
When dividing 180 by 42, we get 4 with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 18969.0714
Deduct 168 from 180 and we're left 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.

Let's proceed to step 11:
42 goes into 120 2 times with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 18969.07142
If we subtract 84 from 120, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed 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: 18969.071428
The remainder is 24 after subtracting 336 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 13:
42 goes into 240 5 times with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 18969.0714285
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.

Step 14:
If we divide 300 by 42, we get 7 and a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 18969.07142857
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.

The quotient of the division is 18969.07142857, and the remainder is 6e-09.