We're dividing 507979 by 77 
Let's see how many times 77 fits into 507979.

Let's proceed to step 1:
When dividing 5 by 77, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 77

On to step 2:
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: 0.0
The remainder is 50 after subtracting 0 from 50.
Fetch the next digit (7) from the dividend, attach it to 50 and continue: 507 / 77

Moving on to step 3:
When dividing 507 by 77, we get 6 with a remainder of 45.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 462 from 507 and we're left with 45.
Fetch the next digit (9) from the dividend, attach it to 45 and continue: 459 / 77

Advancing to step 4:
77 can be fit into 459 5 times, resulting in a remainder of 74.
Use 5 as the next digit of our solution. 
Result so far: 65.0
Subtract 385 from 459 to get 74.
Fetch the next digit (7) from the dividend, attach it to 74 and continue: 747 / 77

Advancing to step 5:
When dividing 747 by 77, we get 9 with a remainder of 54.
Record the quotient 9 as the next digit in the result. 
Result so far: 659.0
Subtracting 693 from 747 leaves us with 54.
Take the next digit (9) from the dividend and append it to 54, then repeat: 549 / 77

Advancing to step 6:
549 divided by 77 is 7 with a remainder of 10.
The number 7 becomes the next digit in our result. 
Result so far: 6597.0
Deduct 539 from 549 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
The number 77 fits into 100 1 times, leaving a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 6597.1
If we take 77 away from 100, we end up 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.

Let's proceed to step 8:
The number 77 fits into 230 2 times, leaving a remainder of 76.
The next digit of our result is 2. 
Result so far: 6597.12
The remainder is 76 after subtracting 154 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Going ahead to step 9:
77 can be fit into 760 9 times, resulting in a remainder of 67.
The number 9 becomes the next digit in our result. 
Result so far: 6597.129
If we subtract 693 from 760, we get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Going ahead to step 10:
If we divide 670 by 77, we get 8 and a remainder of 54.
Use 8 as the next digit of our solution. 
Result so far: 6597.1298
If we take 616 away from 670, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Going ahead to step 11:
77 can be fit into 540 7 times, resulting in a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 6597.12987
If we subtract 539 from 540, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 12:
77 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 6597.12987
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 13:
77 goes into 100 1 times with a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 6597.1298701
The remainder is 23 after subtracting 77 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 14:
230 divided by 77 is 2 with a remainder of 76.
Record the quotient 2 as the next digit in the result. 
Result so far: 6597.12987012
If we subtract 154 from 230, 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.

The final outcome is 6597.12987012, with a leftover of 7.6e-08.