397721 divided by 77 
Let's see how many times 77 fits into 397721.

Step 1:
77 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 77

Moving on to step 2:
77 goes into 39 0 times with a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Bring next digit (7) of the dividend behind the 39 and repeat the process: 397 / 77

Let's proceed to step 3:
77 can be fit into 397 5 times, resulting in a remainder of 12.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtracting 385 from 397 leaves us with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 77

Moving on to step 4:
77 can be fit into 127 1 times, resulting in a remainder of 50.
The next digit of our result is 1. 
Result so far: 51.0
The remainder is 50 after subtracting 77 from 127.
Take the next digit (2) from the dividend and append it to 50, then repeat: 502 / 77

Let's proceed to step 5:
When dividing 502 by 77, we get 6 with a remainder of 40.
Record the quotient 6 as the next digit in the result. 
Result so far: 516.0
The remainder is 40 after subtracting 462 from 502.
Bring next digit (1) of the dividend behind the 40 and repeat the process: 401 / 77

On to step 6:
The number 77 fits into 401 5 times, leaving a remainder of 16.
Record the quotient 5 as the next digit in the result. 
Result so far: 5165.0
Subtracting 385 from 401 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 7:
The number 77 fits into 160 2 times, leaving a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 5165.2
Deduct 154 from 160 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 8:
The number 77 fits into 60 0 times, leaving a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 5165.2
If we take 0 away from 60, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 9:
77 goes into 600 7 times with a remainder of 61.
The next digit of our result is 7. 
Result so far: 5165.207
If we subtract 539 from 600, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

On to step 10:
When dividing 610 by 77, we get 7 with a remainder of 71.
The number 7 becomes the next digit in our result. 
Result so far: 5165.2077
The remainder is 71 after subtracting 539 from 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

The final outcome is 5165.2077, with a leftover of 0.00071.