Let's divide 799161 by 42
We're looking to find how many times 42 goes into 799161.

Let's proceed to step 1:
If we divide 7 by 42, we get 0 and a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 42

Let's proceed to step 2:
If we divide 79 by 42, we get 1 and a remainder of 37.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 42 from 79 and we're left with 37.
Take the next digit (9) from the dividend and append it to 37, then repeat: 379 / 42

Let's proceed to step 3:
379 divided by 42 is 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 19.0
Deduct 378 from 379 and we're left with 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 42

Going ahead to step 4:
42 goes into 11 0 times with a remainder of 11.
Write down 0 as next digit of the result. 
Result so far: 190.0
Subtracting 0 from 11 leaves us with 11.
Bring next digit (6) of the dividend behind the 11 and repeat the process: 116 / 42

Going ahead to step 5:
When dividing 116 by 42, we get 2 with a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 1902.0
Subtract 84 from 116 to get 32.
Take the next digit (1) from the dividend and append it to 32, then repeat: 321 / 42

Moving on to step 6:
The number 42 fits into 321 7 times, leaving a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 19027.0
Deduct 294 from 321 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 7:
42 goes into 270 6 times with a remainder of 18.
The next digit of our result is 6. 
Result so far: 19027.6
If we subtract 252 from 270, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
The number 42 fits into 180 4 times, leaving a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 19027.64
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.

On to step 9:
When dividing 120 by 42, we get 2 with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 19027.642
The remainder is 36 after subtracting 84 from 120.
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 10:
The number 42 fits into 360 8 times, leaving a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 19027.6428
Deduct 336 from 360 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.

Advancing to step 11:
42 can be fit into 240 5 times, resulting in a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 19027.64285
If we subtract 210 from 240, we get 30.
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 12:
The number 42 fits into 300 7 times, leaving a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 19027.642857
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.

Let's proceed to step 13:
When dividing 60 by 42, we get 1 with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 19027.6428571
If we subtract 42 from 60, we get 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 14:
42 goes into 180 4 times with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 19027.64285714
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final result is 19027.64285714 with a remainder of 1.2e-08.