We look at the division of 45797 by 42 
We want to figure out the number of times 45797 can be divided by 42.

Moving on to step 1:
42 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 42

Advancing to step 2:
45 divided by 42 is 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 42 from 45 leaves us with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 42

Step 3:
If we divide 37 by 42, we get 0 and a remainder of 37.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Subtract 0 from 37 to get 37.
Include the next digit (9) from the dividend after 37, then repeat: 379 / 42

Going ahead to step 4:
379 divided by 42 is 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 109.0
Deduct 378 from 379 and we're left with 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 42

Advancing to step 5:
17 divided by 42 is 0 with a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 1090.0
Subtracting 0 from 17 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 6:
When dividing 170 by 42, we get 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 1090.4
Subtracting 168 from 170 leaves us with 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 7:
20 divided by 42 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 1090.4
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
The number 42 fits into 200 4 times, leaving a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 1090.404
If we take 168 away from 200, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 9:
42 can be fit into 320 7 times, resulting in a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 1090.4047
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 10:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 1090.40476
Subtract 252 from 260 to get 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 11:
42 goes into 80 1 times with a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 1090.404761
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.

On to step 12:
If we divide 380 by 42, we get 9 and a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 1090.4047619
The remainder is 2 after subtracting 378 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 13:
20 divided by 42 is 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 1090.4047619
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 1090.4047619, and the remainder is 2e-08.