We divide 542665 by 77
The aim is to understand the frequency of 77 in 542665.

Let's proceed to step 1:
77 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 77

On to step 2:
The number 77 fits into 54 0 times, leaving a remainder of 54.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 54 and we're left with 54.
Take the next digit (2) from the dividend and append it to 54, then repeat: 542 / 77

Step 3:
When dividing 542 by 77, we get 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Deduct 539 from 542 and we're left with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 77

Advancing to step 4:
When dividing 36 by 77, we get 0 with a remainder of 36.
Write down 0 as next digit of the result. 
Result so far: 70.0
The remainder is 36 after subtracting 0 from 36.
Take the next digit (6) from the dividend and append it to 36, then repeat: 366 / 77

On to step 5:
77 goes into 366 4 times with a remainder of 58.
Put 4 as the next digit of the answer. 
Result so far: 704.0
If we take 308 away from 366, we end up with 58.
Bring next digit (5) of the dividend behind the 58 and repeat the process: 585 / 77

Advancing to step 6:
77 goes into 585 7 times with a remainder of 46.
Put 7 as the next digit of the answer. 
Result so far: 7047.0
If we take 539 away from 585, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 7:
77 can be fit into 460 5 times, resulting in a remainder of 75.
The next digit of our result is 5. 
Result so far: 7047.5
If we take 385 away from 460, we end up 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.

Moving on to step 8:
When dividing 750 by 77, we get 9 with a remainder of 57.
The next digit of our result is 9. 
Result so far: 7047.59
Subtracting 693 from 750 leaves us 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.

Moving on to step 9:
When dividing 570 by 77, we get 7 with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 7047.597
Deduct 539 from 570 and we're left 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.

Step 10:
When dividing 310 by 77, we get 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 7047.5974
Subtracting 308 from 310 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 11:
77 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 7047.5974
Deduct 0 from 20 and we're left 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 12:
If we divide 200 by 77, we get 2 and a remainder of 46.
Write down 2 as next digit of the result. 
Result so far: 7047.597402
Subtracting 154 from 200 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 13:
77 can be fit into 460 5 times, resulting in a remainder of 75.
Use 5 as the next digit of our solution. 
Result so far: 7047.5974025
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.

Advancing to step 14:
77 can be fit into 750 9 times, resulting in a remainder of 57.
The number 9 becomes the next digit in our result. 
Result so far: 7047.59740259
Subtracting 693 from 750 leaves us 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.

In conclusion, the division gives 7047.59740259 with a balance of 5.7e-08.