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

Let's proceed to step 1:
77 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 77

Moving on to step 2:
77 goes into 87 1 times with a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 77 from 87 leaves us with 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 77

Advancing to step 3:
77 can be fit into 106 1 times, resulting in a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we take 77 away from 106, we end up with 29.
Include the next digit (5) from the dividend after 29, then repeat: 295 / 77

Going ahead to step 4:
The number 77 fits into 295 3 times, leaving a remainder of 64.
Write down 3 as next digit of the result. 
Result so far: 113.0
Subtracting 231 from 295 leaves us with 64.
Fetch the next digit (4) from the dividend, attach it to 64 and continue: 644 / 77

On to step 5:
77 can be fit into 644 8 times, resulting in a remainder of 28.
The next digit of our result is 8. 
Result so far: 1138.0
Subtracting 616 from 644 leaves us with 28.
Grab the next digit (1) from the dividend, add it to 28, then carry on: 281 / 77

Step 6:
77 goes into 281 3 times with a remainder of 50.
The number 3 becomes the next digit in our result. 
Result so far: 11383.0
Deduct 231 from 281 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 7:
500 divided by 77 is 6 with a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 11383.6
Deduct 462 from 500 and we're left with 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 8:
77 goes into 380 4 times with a remainder of 72.
The next digit of our result is 4. 
Result so far: 11383.64
Deduct 308 from 380 and we're left 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.

Step 9:
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: 11383.649
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.

Let's proceed to step 10:
The number 77 fits into 270 3 times, leaving a remainder of 39.
Put 3 as the next digit of the answer. 
Result so far: 11383.6493
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 11:
If we divide 390 by 77, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 11383.64935
If we subtract 385 from 390, we get 5.
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 12:
When dividing 50 by 77, we get 0 with a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 11383.64935
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.

Step 13:
If we divide 500 by 77, we get 6 and a remainder of 38.
Write down 6 as next digit of the result. 
Result so far: 11383.6493506
The remainder is 38 after subtracting 462 from 500.
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 14:
If we divide 380 by 77, we get 4 and a remainder of 72.
The number 4 becomes the next digit in our result. 
Result so far: 11383.64935064
The remainder is 72 after subtracting 308 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

After the division, we end up with 11383.64935064 and a remainder of 7.2e-08.