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

On to step 1:
8 divided by 77 is 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 77

Let's proceed to step 2:
86 divided by 77 is 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 77 from 86, we get 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 77

Step 3:
The number 77 fits into 95 1 times, leaving a remainder of 18.
The next digit of our result is 1. 
Result so far: 11.0
If we subtract 77 from 95, we get 18.
Fetch the next digit (6) from the dividend, attach it to 18 and continue: 186 / 77

Step 4:
When dividing 186 by 77, we get 2 with a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 112.0
Deduct 154 from 186 and we're left with 32.
Fetch the next digit (9) from the dividend, attach it to 32 and continue: 329 / 77

On to step 5:
If we divide 329 by 77, we get 4 and a remainder of 21.
The number 4 becomes the next digit in our result. 
Result so far: 1124.0
Subtracting 308 from 329 leaves us with 21.
Append the next digit (8) from the dividend to 21 and continue with: 218 / 77

Advancing to step 6:
When dividing 218 by 77, we get 2 with a remainder of 64.
Write down 2 as next digit of the result. 
Result so far: 11242.0
Subtracting 154 from 218 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 7:
The number 77 fits into 640 8 times, leaving a remainder of 24.
The next digit of our result is 8. 
Result so far: 11242.8
If we subtract 616 from 640, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 8:
240 divided by 77 is 3 with a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 11242.83
Deduct 231 from 240 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
When dividing 90 by 77, we get 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 11242.831
If we subtract 77 from 90, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 10:
77 can be fit into 130 1 times, resulting in a remainder of 53.
The next digit of our result is 1. 
Result so far: 11242.8311
Subtracting 77 from 130 leaves us with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Our division results in 11242.8311 with a remaining 0.00053.