406138 divided by 78 
Let's see how many times 78 fits into 406138.

Advancing to step 1:
When dividing 4 by 78, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 78

Let's proceed to step 2:
78 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Append the next digit (6) from the dividend to 40 and continue with: 406 / 78

Moving on to step 3:
The number 78 fits into 406 5 times, leaving a remainder of 16.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 390 from 406, we get 16.
Append the next digit (1) from the dividend to 16 and continue with: 161 / 78

Moving on to step 4:
161 divided by 78 is 2 with a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 52.0
If we take 156 away from 161, we end up with 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 78

Step 5:
53 divided by 78 is 0 with a remainder of 53.
Put 0 as the next digit of the answer. 
Result so far: 520.0
Subtract 0 from 53 to get 53.
Take the next digit (8) from the dividend and append it to 53, then repeat: 538 / 78

Step 6:
When dividing 538 by 78, we get 6 with a remainder of 70.
The next digit of our result is 6. 
Result so far: 5206.0
If we take 468 away from 538, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 7:
The number 78 fits into 700 8 times, leaving a remainder of 76.
The number 8 becomes the next digit in our result. 
Result so far: 5206.8
If we subtract 624 from 700, we get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 8:
When dividing 760 by 78, we get 9 with a remainder of 58.
Put 9 as the next digit of the answer. 
Result so far: 5206.89
If we subtract 702 from 760, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Step 9:
The number 78 fits into 580 7 times, leaving a remainder of 34.
The next digit of our result is 7. 
Result so far: 5206.897
Deduct 546 from 580 and we're left with 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 10:
78 goes into 340 4 times with a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 5206.8974
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 11:
When dividing 280 by 78, we get 3 with a remainder of 46.
Use 3 as the next digit of our solution. 
Result so far: 5206.89743
Subtract 234 from 280 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 12:
460 divided by 78 is 5 with a remainder of 70.
Use 5 as the next digit of our solution. 
Result so far: 5206.897435
Subtract 390 from 460 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 13:
If we divide 700 by 78, we get 8 and a remainder of 76.
The number 8 becomes the next digit in our result. 
Result so far: 5206.8974358
Subtract 624 from 700 to get 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 14:
78 goes into 760 9 times with a remainder of 58.
Write down 9 as next digit of the result. 
Result so far: 5206.89743589
Deduct 702 from 760 and we're left with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

The final result is 5206.89743589 with a remainder of 5.8e-08.