We're dividing 400711 by 77 
We're looking to find how many times 77 goes into 400711.

Advancing to step 1:
The number 77 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 77

Moving on to step 2:
40 divided by 77 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 77

Advancing to step 3:
When dividing 400 by 77, we get 5 with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 385 from 400 and we're left with 15.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 77

Going ahead to step 4:
157 divided by 77 is 2 with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 52.0
If we subtract 154 from 157, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 77

On to step 5:
When dividing 31 by 77, we get 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 520.0
Subtract 0 from 31 to get 31.
Bring next digit (1) of the dividend behind the 31 and repeat the process: 311 / 77

Advancing to step 6:
The number 77 fits into 311 4 times, leaving a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 5204.0
Deduct 308 from 311 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
When dividing 30 by 77, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 5204.0
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
When dividing 300 by 77, we get 3 with a remainder of 69.
Use 3 as the next digit of our solution. 
Result so far: 5204.03
If we take 231 away from 300, we end up with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

On to step 9:
If we divide 690 by 77, we get 8 and a remainder of 74.
Put 8 as the next digit of the answer. 
Result so far: 5204.038
Deduct 616 from 690 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.

Let's proceed to step 10:
77 goes into 740 9 times with a remainder of 47.
Use 9 as the next digit of our solution. 
Result so far: 5204.0389
Subtracting 693 from 740 leaves us with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 11:
When dividing 470 by 77, we get 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 5204.03896
The remainder is 8 after subtracting 462 from 470.
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:
80 divided by 77 is 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 5204.038961
Subtract 77 from 80 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 13:
77 goes into 30 0 times with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 5204.038961
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 14:
300 divided by 77 is 3 with a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 5204.03896103
Subtracting 231 from 300 leaves us with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

In conclusion, the division gives 5204.03896103 with a balance of 6.9e-08.