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

Moving on to step 1:
If we divide 3 by 77, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 77

On to step 2:
77 can be fit into 30 0 times, resulting in a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 30, we end up with 30.
Bring next digit (0) of the dividend behind the 30 and repeat the process: 300 / 77

Moving on to step 3:
77 goes into 300 3 times with a remainder of 69.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 231 from 300 leaves us with 69.
Grab the next digit (9) from the dividend, add it to 69, then carry on: 699 / 77

Step 4:
77 goes into 699 9 times with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we subtract 693 from 699, we get 6.
Grab the next digit (9) from the dividend, add it to 6, then carry on: 69 / 77

On to step 5:
69 divided by 77 is 0 with a remainder of 69.
The number 0 becomes the next digit in our result. 
Result so far: 390.0
Deduct 0 from 69 and we're left with 69.
Append the next digit (1) from the dividend to 69 and continue with: 691 / 77

Let's proceed to step 6:
77 can be fit into 691 8 times, resulting in a remainder of 75.
The number 8 becomes the next digit in our result. 
Result so far: 3908.0
Deduct 616 from 691 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.

Going ahead to step 7:
77 can be fit into 750 9 times, resulting in a remainder of 57.
Record the quotient 9 as the next digit in the result. 
Result so far: 3908.9
Subtract 693 from 750 to get 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Advancing to step 8:
77 goes into 570 7 times with a remainder of 31.
The next digit of our result is 7. 
Result so far: 3908.97
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.

Moving on to step 9:
77 can be fit into 310 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 3908.974
The remainder is 2 after subtracting 308 from 310.
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 10:
If we divide 20 by 77, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 3908.974
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
77 can be fit into 200 2 times, resulting in a remainder of 46.
Write down 2 as next digit of the result. 
Result so far: 3908.97402
Subtract 154 from 200 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 12:
The number 77 fits into 460 5 times, leaving a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 3908.974025
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.

On to step 13:
77 goes into 750 9 times with a remainder of 57.
Write down 9 as next digit of the result. 
Result so far: 3908.9740259
If we take 693 away from 750, we end up 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.

Going ahead to step 14:
When dividing 570 by 77, we get 7 with a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 3908.97402597
If we subtract 539 from 570, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The final outcome is 3908.97402597, with a leftover of 3.1e-08.