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

Going ahead to step 1:
9 divided by 77 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 77

On to step 2:
When dividing 96 by 77, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 77 from 96 to get 19.
Append the next digit (5) from the dividend to 19 and continue with: 195 / 77

Let's proceed to step 3:
When dividing 195 by 77, we get 2 with a remainder of 41.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
The remainder is 41 after subtracting 154 from 195.
Append the next digit (4) from the dividend to 41 and continue with: 414 / 77

Step 4:
The number 77 fits into 414 5 times, leaving a remainder of 29.
Record the quotient 5 as the next digit in the result. 
Result so far: 125.0
Deduct 385 from 414 and we're left with 29.
Take the next digit (0) from the dividend and append it to 29, then repeat: 290 / 77

Let's proceed to step 5:
The number 77 fits into 290 3 times, leaving a remainder of 59.
Put 3 as the next digit of the answer. 
Result so far: 1253.0
If we subtract 231 from 290, we get 59.
Fetch the next digit (9) from the dividend, attach it to 59 and continue: 599 / 77

Let's proceed to step 6:
77 goes into 599 7 times with a remainder of 60.
Write down 7 as next digit of the result. 
Result so far: 12537.0
Subtract 539 from 599 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 7:
If we divide 600 by 77, we get 7 and a remainder of 61.
The number 7 becomes the next digit in our result. 
Result so far: 12537.7
Subtracting 539 from 600 leaves us with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Advancing to step 8:
If we divide 610 by 77, we get 7 and a remainder of 71.
Use 7 as the next digit of our solution. 
Result so far: 12537.77
The remainder is 71 after subtracting 539 from 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

After the division, we end up with 12537.77 and a remainder of 0.071.