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

Let's proceed to step 1:
42 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 42

Advancing to step 2:
42 goes into 79 1 times with a remainder of 37.
The next digit of our result is 1. 
Result so far: 1.0
If we take 42 away from 79, we end up with 37.
Append the next digit (7) from the dividend to 37 and continue with: 377 / 42

Advancing to step 3:
377 divided by 42 is 8 with a remainder of 41.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we take 336 away from 377, we end up with 41.
Grab the next digit (2) from the dividend, add it to 41, then carry on: 412 / 42

Step 4:
42 goes into 412 9 times with a remainder of 34.
The number 9 becomes the next digit in our result. 
Result so far: 189.0
If we take 378 away from 412, we end up with 34.
Include the next digit (2) from the dividend after 34, then repeat: 342 / 42

Advancing to step 5:
When dividing 342 by 42, we get 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 1898.0
Subtracting 336 from 342 leaves us with 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 42

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

Step 7:
If we divide 260 by 42, we get 6 and a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 18981.6
If we take 252 away from 260, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
The number 42 fits into 80 1 times, leaving a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 18981.61
Deduct 42 from 80 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 9:
If we divide 380 by 42, we get 9 and a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 18981.619
If we subtract 378 from 380, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 10:
42 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 18981.619
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
If we divide 200 by 42, we get 4 and a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 18981.61904
The remainder is 32 after subtracting 168 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 12:
42 can be fit into 320 7 times, resulting in a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 18981.619047
If we take 294 away from 320, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 13:
42 can be fit into 260 6 times, resulting in a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 18981.6190476
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 14:
80 divided by 42 is 1 with a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 18981.61904761
The remainder is 38 after subtracting 42 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The quotient of the division is 18981.61904761, and the remainder is 3.8e-08.