We look at the division of 540515 by 77 
We're looking to find how many times 77 goes into 540515.

Let's proceed to step 1:
When dividing 5 by 77, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 77

On to step 2:
77 goes into 54 0 times with a remainder of 54.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 54 leaves us with 54.
Grab the next digit (0) from the dividend, add it to 54, then carry on: 540 / 77

Let's proceed to step 3:
If we divide 540 by 77, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 1 after subtracting 539 from 540.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 77

Going ahead to step 4:
15 divided by 77 is 0 with a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 70.0
If we subtract 0 from 15, we get 15.
Take the next digit (1) from the dividend and append it to 15, then repeat: 151 / 77

Going ahead to step 5:
The number 77 fits into 151 1 times, leaving a remainder of 74.
Use 1 as the next digit of our solution. 
Result so far: 701.0
The remainder is 74 after subtracting 77 from 151.
Grab the next digit (5) from the dividend, add it to 74, then carry on: 745 / 77

Advancing to step 6:
77 goes into 745 9 times with a remainder of 52.
Write down 9 as next digit of the result. 
Result so far: 7019.0
The remainder is 52 after subtracting 693 from 745.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 7:
520 divided by 77 is 6 with a remainder of 58.
The next digit of our result is 6. 
Result so far: 7019.6
If we take 462 away from 520, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Advancing to step 8:
When dividing 580 by 77, we get 7 with a remainder of 41.
Put 7 as the next digit of the answer. 
Result so far: 7019.67
The remainder is 41 after subtracting 539 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Advancing to step 9:
The number 77 fits into 410 5 times, leaving a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 7019.675
If we subtract 385 from 410, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 10:
77 can be fit into 250 3 times, resulting in a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 7019.6753
Subtracting 231 from 250 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 11:
77 goes into 190 2 times with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 7019.67532
If we take 154 away from 190, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 12:
When dividing 360 by 77, we get 4 with a remainder of 52.
Use 4 as the next digit of our solution. 
Result so far: 7019.675324
Subtracting 308 from 360 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 13:
When dividing 520 by 77, we get 6 with a remainder of 58.
Record the quotient 6 as the next digit in the result. 
Result so far: 7019.6753246
Deduct 462 from 520 and we're left with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Advancing to step 14:
580 divided by 77 is 7 with a remainder of 41.
Use 7 as the next digit of our solution. 
Result so far: 7019.67532467
If we take 539 away from 580, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

The final result is 7019.67532467 with a remainder of 4.1e-08.