399791 divided by 78 
We're looking to find how many times 78 goes into 399791.

Going ahead to step 1:
78 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 78

Step 2:
When dividing 39 by 78, we get 0 with a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 78

Advancing to step 3:
78 goes into 399 5 times with a remainder of 9.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 390 from 399 leaves us with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 78

On to step 4:
78 goes into 97 1 times with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 51.0
Subtract 78 from 97 to get 19.
Take the next digit (9) from the dividend and append it to 19, then repeat: 199 / 78

Advancing to step 5:
If we divide 199 by 78, we get 2 and a remainder of 43.
The next digit of our result is 2. 
Result so far: 512.0
Subtract 156 from 199 to get 43.
Fetch the next digit (1) from the dividend, attach it to 43 and continue: 431 / 78

Let's proceed to step 6:
If we divide 431 by 78, we get 5 and a remainder of 41.
Write down 5 as next digit of the result. 
Result so far: 5125.0
Subtract 390 from 431 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 7:
The number 78 fits into 410 5 times, leaving a remainder of 20.
The next digit of our result is 5. 
Result so far: 5125.5
Subtract 390 from 410 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.

Advancing to step 8:
78 can be fit into 200 2 times, resulting in a remainder of 44.
The next digit of our result is 2. 
Result so far: 5125.52
Subtracting 156 from 200 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 9:
The number 78 fits into 440 5 times, leaving a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 5125.525
Subtracting 390 from 440 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 10:
When dividing 500 by 78, we get 6 with a remainder of 32.
The next digit of our result is 6. 
Result so far: 5125.5256
If we take 468 away from 500, 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.

Going ahead to step 11:
78 goes into 320 4 times with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 5125.52564
Subtracting 312 from 320 leaves us 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 12:
The number 78 fits into 80 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 5125.525641
Subtract 78 from 80 to 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.

Advancing to step 13:
78 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 5125.525641
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 14:
If we divide 200 by 78, we get 2 and a remainder of 44.
Put 2 as the next digit of the answer. 
Result so far: 5125.52564102
The remainder is 44 after subtracting 156 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

The final outcome is 5125.52564102, with a leftover of 4.4e-08.