790171 divided by 42 
Let's see how many times 42 fits into 790171.

Let's proceed to step 1:
7 divided by 42 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 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.
Bring next digit (0) of the dividend behind the 37 and repeat the process: 370 / 42

Going ahead to step 3:
370 divided by 42 is 8 with a remainder of 34.
Use 8 as the next digit of our solution. 
Result so far: 18.0
If we subtract 336 from 370, we get 34.
Append the next digit (1) from the dividend to 34 and continue with: 341 / 42

Moving on to step 4:
42 goes into 341 8 times with a remainder of 5.
The next digit of our result is 8. 
Result so far: 188.0
Subtracting 336 from 341 leaves us with 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 42

Let's proceed to step 5:
If we divide 57 by 42, we get 1 and a remainder of 15.
Record the quotient 1 as the next digit in the result. 
Result so far: 1881.0
Subtract 42 from 57 to get 15.
Append the next digit (1) from the dividend to 15 and continue with: 151 / 42

Going ahead to step 6:
42 can be fit into 151 3 times, resulting in a remainder of 25.
Write down 3 as next digit of the result. 
Result so far: 18813.0
The remainder is 25 after subtracting 126 from 151.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 7:
250 divided by 42 is 5 with a remainder of 40.
Use 5 as the next digit of our solution. 
Result so far: 18813.5
Subtracting 210 from 250 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 8:
If we divide 400 by 42, we get 9 and a remainder of 22.
The next digit of our result is 9. 
Result so far: 18813.59
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.

Advancing to step 9:
42 can be fit into 220 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 18813.595
If we subtract 210 from 220, we 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.

On to step 10:
42 goes into 100 2 times with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 18813.5952
Deduct 84 from 100 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 11:
160 divided by 42 is 3 with a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 18813.59523
If we subtract 126 from 160, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 12:
The number 42 fits into 340 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 18813.595238
Subtracting 336 from 340 leaves us 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.

Going ahead to step 13:
42 goes into 40 0 times with a remainder of 40.
The next digit of our result is 0. 
Result so far: 18813.595238
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 14:
If we divide 400 by 42, we get 9 and a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 18813.59523809
Subtracting 378 from 400 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 18813.59523809, with a leftover of 2.2e-08.