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

On to step 1:
If we divide 4 by 79, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 79

Step 2:
If we divide 40 by 79, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 79

Moving on to step 3:
If we divide 401 by 79, we get 5 and a remainder of 6.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 395 from 401, we get 6.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 79

Step 4:
When dividing 67 by 79, we get 0 with a remainder of 67.
Write down 0 as next digit of the result. 
Result so far: 50.0
If we take 0 away from 67, we end up with 67.
Include the next digit (9) from the dividend after 67, then repeat: 679 / 79

Advancing to step 5:
The number 79 fits into 679 8 times, leaving a remainder of 47.
Record the quotient 8 as the next digit in the result. 
Result so far: 508.0
If we subtract 632 from 679, we get 47.
Fetch the next digit (1) from the dividend, attach it to 47 and continue: 471 / 79

Step 6:
The number 79 fits into 471 5 times, leaving a remainder of 76.
Use 5 as the next digit of our solution. 
Result so far: 5085.0
Subtracting 395 from 471 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 7:
79 goes into 760 9 times with a remainder of 49.
Use 9 as the next digit of our solution. 
Result so far: 5085.9
If we take 711 away from 760, we end up with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Step 8:
The number 79 fits into 490 6 times, leaving a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 5085.96
The remainder is 16 after subtracting 474 from 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 9:
160 divided by 79 is 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 5085.962
If we subtract 158 from 160, 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.

Let's proceed to step 10:
79 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 5085.962
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.

Moving on to step 11:
The number 79 fits into 200 2 times, leaving a remainder of 42.
Write down 2 as next digit of the result. 
Result so far: 5085.96202
If we take 158 away from 200, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 12:
The number 79 fits into 420 5 times, leaving a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 5085.962025
Deduct 395 from 420 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 13:
The number 79 fits into 250 3 times, leaving a remainder of 13.
Write down 3 as next digit of the result. 
Result so far: 5085.9620253
Subtracting 237 from 250 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 14:
The number 79 fits into 130 1 times, leaving a remainder of 51.
Record the quotient 1 as the next digit in the result. 
Result so far: 5085.96202531
If we subtract 79 from 130, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

After the division, we end up with 5085.96202531 and a remainder of 5.1e-08.