We're dividing 394586 by 78 
Let's see how many times 78 fits into 394586.

Going ahead to step 1:
78 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 78

On to step 2:
The number 78 fits into 39 0 times, leaving a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Bring next digit (4) of the dividend behind the 39 and repeat the process: 394 / 78

Going ahead to step 3:
The number 78 fits into 394 5 times, leaving a remainder of 4.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 390 from 394, we get 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 78

Advancing to step 4:
If we divide 45 by 78, we get 0 and a remainder of 45.
Use 0 as the next digit of our solution. 
Result so far: 50.0
Subtract 0 from 45 to get 45.
Take the next digit (8) from the dividend and append it to 45, then repeat: 458 / 78

Let's proceed to step 5:
The number 78 fits into 458 5 times, leaving a remainder of 68.
The number 5 becomes the next digit in our result. 
Result so far: 505.0
The remainder is 68 after subtracting 390 from 458.
Append the next digit (6) from the dividend to 68 and continue with: 686 / 78

Moving on to step 6:
686 divided by 78 is 8 with a remainder of 62.
The next digit of our result is 8. 
Result so far: 5058.0
If we subtract 624 from 686, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 7:
When dividing 620 by 78, we get 7 with a remainder of 74.
The number 7 becomes the next digit in our result. 
Result so far: 5058.7
Deduct 546 from 620 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 8:
78 goes into 740 9 times with a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 5058.79
The remainder is 38 after subtracting 702 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 9:
78 can be fit into 380 4 times, resulting in a remainder of 68.
The number 4 becomes the next digit in our result. 
Result so far: 5058.794
Subtracting 312 from 380 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 10:
When dividing 680 by 78, we get 8 with a remainder of 56.
The number 8 becomes the next digit in our result. 
Result so far: 5058.7948
Subtract 624 from 680 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 11:
If we divide 560 by 78, we get 7 and a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 5058.79487
Subtract 546 from 560 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 12:
78 can be fit into 140 1 times, resulting in a remainder of 62.
The next digit of our result is 1. 
Result so far: 5058.794871
Subtracting 78 from 140 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 13:
78 can be fit into 620 7 times, resulting in a remainder of 74.
Record the quotient 7 as the next digit in the result. 
Result so far: 5058.7948717
The remainder is 74 after subtracting 546 from 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 14:
78 can be fit into 740 9 times, resulting in a remainder of 38.
Use 9 as the next digit of our solution. 
Result so far: 5058.79487179
Subtract 702 from 740 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The quotient of the division is 5058.79487179, and the remainder is 3.8e-08.