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

Going ahead to step 1:
If we divide 4 by 78, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 78

Let's proceed to step 2:
The number 78 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of 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 / 78

Step 3:
401 divided by 78 is 5 with a remainder of 11.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 390 away from 401, we end up with 11.
Append the next digit (1) from the dividend to 11 and continue with: 111 / 78

Advancing to step 4:
78 can be fit into 111 1 times, resulting in a remainder of 33.
Put 1 as the next digit of the answer. 
Result so far: 51.0
Subtract 78 from 111 to get 33.
Include the next digit (7) from the dividend after 33, then repeat: 337 / 78

Moving on to step 5:
78 goes into 337 4 times with a remainder of 25.
The number 4 becomes the next digit in our result. 
Result so far: 514.0
Subtracting 312 from 337 leaves us with 25.
Grab the next digit (7) from the dividend, add it to 25, then carry on: 257 / 78

Advancing to step 6:
When dividing 257 by 78, we get 3 with a remainder of 23.
Write down 3 as next digit of the result. 
Result so far: 5143.0
Subtracting 234 from 257 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 7:
230 divided by 78 is 2 with a remainder of 74.
Use 2 as the next digit of our solution. 
Result so far: 5143.2
Subtracting 156 from 230 leaves us 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.

Going ahead to step 8:
78 can be fit into 740 9 times, resulting in a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 5143.29
Deduct 702 from 740 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 9:
78 goes into 380 4 times with a remainder of 68.
Record the quotient 4 as the next digit in the result. 
Result so far: 5143.294
If we subtract 312 from 380, we get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Going ahead to step 10:
78 can be fit into 680 8 times, resulting in a remainder of 56.
Record the quotient 8 as the next digit in the result. 
Result so far: 5143.2948
Deduct 624 from 680 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 11:
560 divided by 78 is 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 5143.29487
Subtracting 546 from 560 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 12:
If we divide 140 by 78, we get 1 and a remainder of 62.
Use 1 as the next digit of our solution. 
Result so far: 5143.294871
The remainder is 62 after subtracting 78 from 140.
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 13:
620 divided by 78 is 7 with a remainder of 74.
The next digit of our result is 7. 
Result so far: 5143.2948717
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:
When dividing 740 by 78, we get 9 with a remainder of 38.
Use 9 as the next digit of our solution. 
Result so far: 5143.29487179
Subtracting 702 from 740 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

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