Let's divide 540524 by 77
The aim is to understand the frequency of 77 in 540524.

Advancing to step 1:
If we divide 5 by 77, we get 0 and 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

Let's proceed to step 2:
54 divided by 77 is 0 with a remainder of 54.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 54 after subtracting 0 from 54.
Append the next digit (0) from the dividend to 54 and continue with: 540 / 77

Let's proceed to step 3:
If we divide 540 by 77, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 539 away from 540, we end up with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 77

Going ahead to step 4:
15 divided by 77 is 0 with a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 70.0
The remainder is 15 after subtracting 0 from 15.
Append the next digit (2) from the dividend to 15 and continue with: 152 / 77

On to step 5:
When dividing 152 by 77, we get 1 with a remainder of 75.
Put 1 as the next digit of the answer. 
Result so far: 701.0
Deduct 77 from 152 and we're left with 75.
Append the next digit (4) from the dividend to 75 and continue with: 754 / 77

On to step 6:
77 goes into 754 9 times with a remainder of 61.
Use 9 as the next digit of our solution. 
Result so far: 7019.0
The remainder is 61 after subtracting 693 from 754.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Going ahead to step 7:
The number 77 fits into 610 7 times, leaving a remainder of 71.
The next digit of our result is 7. 
Result so far: 7019.7
If we subtract 539 from 610, we get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Let's proceed to step 8:
If we divide 710 by 77, we get 9 and a remainder of 17.
Record the quotient 9 as the next digit in the result. 
Result so far: 7019.79
Subtract 693 from 710 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 9:
If we divide 170 by 77, we get 2 and a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 7019.792
Subtract 154 from 170 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
The number 77 fits into 160 2 times, leaving a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 7019.7922
Subtract 154 from 160 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 7019.7922 with a remaining 6e-05.