540310 divided by 77 
We're looking to find how many times 77 goes into 540310.

Going ahead to step 1:
The number 77 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 77

Moving on to step 2:
When dividing 54 by 77, we get 0 with a remainder of 54.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 54, we get 54.
Fetch the next digit (0) from the dividend, attach it to 54 and continue: 540 / 77

Going ahead to step 3:
77 can be fit into 540 7 times, resulting in a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 7.0
The remainder is 1 after subtracting 539 from 540.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 77

Moving on to step 4:
13 divided by 77 is 0 with a remainder of 13.
The number 0 becomes the next digit in our result. 
Result so far: 70.0
Subtract 0 from 13 to get 13.
Append the next digit (1) from the dividend to 13 and continue with: 131 / 77

On to step 5:
The number 77 fits into 131 1 times, leaving a remainder of 54.
Use 1 as the next digit of our solution. 
Result so far: 701.0
If we take 77 away from 131, we end up with 54.
Grab the next digit (0) from the dividend, add it to 54, then carry on: 540 / 77

Going ahead to step 6:
The number 77 fits into 540 7 times, leaving a remainder of 1.
The next digit of our result is 7. 
Result so far: 7017.0
Subtracting 539 from 540 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
If we divide 10 by 77, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 7017.0
If we take 0 away from 10, we end up 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.

Let's proceed to step 8:
100 divided by 77 is 1 with a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 7017.01
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.

Moving on to step 9:
The number 77 fits into 230 2 times, leaving a remainder of 76.
Put 2 as the next digit of the answer. 
Result so far: 7017.012
Deduct 154 from 230 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 10:
If we divide 760 by 77, we get 9 and a remainder of 67.
Write down 9 as next digit of the result. 
Result so far: 7017.0129
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.

Advancing to step 11:
When dividing 670 by 77, we get 8 with a remainder of 54.
Put 8 as the next digit of the answer. 
Result so far: 7017.01298
The remainder is 54 after subtracting 616 from 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 12:
When dividing 540 by 77, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 7017.012987
Subtracting 539 from 540 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 13:
When dividing 10 by 77, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 7017.012987
Subtracting 0 from 10 leaves us 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.

Let's proceed to step 14:
If we divide 100 by 77, we get 1 and a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 7017.01298701
Subtracting 77 from 100 leaves us 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.

The final result is 7017.01298701 with a remainder of 2.3e-08.