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

Step 1:
77 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 77

Advancing to step 2:
77 can be fit into 51 0 times, resulting in a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Take the next digit (3) from the dividend and append it to 51, then repeat: 513 / 77

Moving on to step 3:
When dividing 513 by 77, we get 6 with a remainder of 51.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 462 from 513, we get 51.
Append the next digit (3) from the dividend to 51 and continue with: 513 / 77

Moving on to step 4:
513 divided by 77 is 6 with a remainder of 51.
The number 6 becomes the next digit in our result. 
Result so far: 66.0
The remainder is 51 after subtracting 462 from 513.
Append the next digit (9) from the dividend to 51 and continue with: 519 / 77

On to step 5:
77 can be fit into 519 6 times, resulting in a remainder of 57.
The number 6 becomes the next digit in our result. 
Result so far: 666.0
Subtract 462 from 519 to get 57.
Bring next digit (7) of the dividend behind the 57 and repeat the process: 577 / 77

Going ahead to step 6:
When dividing 577 by 77, we get 7 with a remainder of 38.
Use 7 as the next digit of our solution. 
Result so far: 6667.0
If we take 539 away from 577, we end up 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 7:
If we divide 380 by 77, we get 4 and a remainder of 72.
Use 4 as the next digit of our solution. 
Result so far: 6667.4
Subtract 308 from 380 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 8:
When dividing 720 by 77, we get 9 with a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 6667.49
If we take 693 away from 720, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 9:
When dividing 270 by 77, we get 3 with a remainder of 39.
Use 3 as the next digit of our solution. 
Result so far: 6667.493
Subtracting 231 from 270 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 10:
77 goes into 390 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 6667.4935
Subtracting 385 from 390 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 11:
50 divided by 77 is 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 6667.4935
Subtracting 0 from 50 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 12:
500 divided by 77 is 6 with a remainder of 38.
Record the quotient 6 as the next digit in the result. 
Result so far: 6667.493506
The remainder is 38 after subtracting 462 from 500.
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 13:
380 divided by 77 is 4 with a remainder of 72.
Use 4 as the next digit of our solution. 
Result so far: 6667.4935064
If we take 308 away from 380, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 14:
77 can be fit into 720 9 times, resulting in a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 6667.49350649
Subtracting 693 from 720 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Our division results in 6667.49350649 with a remaining 2.7e-08.