We look at the division of 816657 by 77 
The aim is to understand the frequency of 77 in 816657.

On to step 1:
8 divided by 77 is 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 77

Let's proceed to step 2:
81 divided by 77 is 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 4 after subtracting 77 from 81.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 77

Let's proceed to step 3:
77 can be fit into 46 0 times, resulting in a remainder of 46.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtract 0 from 46 to get 46.
Append the next digit (6) from the dividend to 46 and continue with: 466 / 77

Advancing to step 4:
466 divided by 77 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 106.0
Deduct 462 from 466 and we're left with 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 77

On to step 5:
The number 77 fits into 45 0 times, leaving a remainder of 45.
Use 0 as the next digit of our solution. 
Result so far: 1060.0
The remainder is 45 after subtracting 0 from 45.
Append the next digit (7) from the dividend to 45 and continue with: 457 / 77

Let's proceed to step 6:
77 goes into 457 5 times with a remainder of 72.
Write down 5 as next digit of the result. 
Result so far: 10605.0
The remainder is 72 after subtracting 385 from 457.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 7:
77 can be fit into 720 9 times, resulting in a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 10605.9
Deduct 693 from 720 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 8:
77 can be fit into 270 3 times, resulting in a remainder of 39.
The next digit of our result is 3. 
Result so far: 10605.93
If we take 231 away from 270, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 9:
If we divide 390 by 77, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 10605.935
The remainder is 5 after subtracting 385 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 10:
77 can be fit into 50 0 times, resulting in a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 10605.935
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 11:
77 can be fit into 500 6 times, resulting in a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 10605.93506
If we subtract 462 from 500, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 12:
The number 77 fits into 380 4 times, leaving a remainder of 72.
The next digit of our result is 4. 
Result so far: 10605.935064
Subtracting 308 from 380 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 13:
If we divide 720 by 77, we get 9 and a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 10605.9350649
If we take 693 away from 720, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 14:
If we divide 270 by 77, we get 3 and a remainder of 39.
Put 3 as the next digit of the answer. 
Result so far: 10605.93506493
Subtracting 231 from 270 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

In conclusion, the division gives 10605.93506493 with a balance of 3.9e-08.