504117 ÷ 77 
We want to divide 504117 by 77.

Going ahead to step 1:
77 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 77

Moving on to step 2:
When dividing 50 by 77, we get 0 with a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Fetch the next digit (4) from the dividend, attach it to 50 and continue: 504 / 77

Let's proceed to step 3:
77 can be fit into 504 6 times, resulting in a remainder of 42.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we take 462 away from 504, we end up with 42.
Grab the next digit (1) from the dividend, add it to 42, then carry on: 421 / 77

Going ahead to step 4:
421 divided by 77 is 5 with a remainder of 36.
Put 5 as the next digit of the answer. 
Result so far: 65.0
Subtracting 385 from 421 leaves us with 36.
Append the next digit (1) from the dividend to 36 and continue with: 361 / 77

Step 5:
77 goes into 361 4 times with a remainder of 53.
The next digit of our result is 4. 
Result so far: 654.0
If we subtract 308 from 361, we get 53.
Include the next digit (7) from the dividend after 53, then repeat: 537 / 77

Step 6:
When dividing 537 by 77, we get 6 with a remainder of 75.
Record the quotient 6 as the next digit in the result. 
Result so far: 6546.0
If we subtract 462 from 537, we get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Going ahead to step 7:
If we divide 750 by 77, we get 9 and a remainder of 57.
Record the quotient 9 as the next digit in the result. 
Result so far: 6546.9
Deduct 693 from 750 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Going ahead to step 8:
570 divided by 77 is 7 with a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 6546.97
Subtracting 539 from 570 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

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

Advancing to step 10:
When dividing 20 by 77, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 6546.974
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 11:
200 divided by 77 is 2 with a remainder of 46.
Use 2 as the next digit of our solution. 
Result so far: 6546.97402
If we subtract 154 from 200, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 12:
The number 77 fits into 460 5 times, leaving a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 6546.974025
Deduct 385 from 460 and we're left with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Going ahead to step 13:
The number 77 fits into 750 9 times, leaving a remainder of 57.
Use 9 as the next digit of our solution. 
Result so far: 6546.9740259
If we subtract 693 from 750, we get 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

On to step 14:
77 can be fit into 570 7 times, resulting in a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 6546.97402597
If we take 539 away from 570, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

In conclusion, the division gives 6546.97402597 with a balance of 3.1e-08.