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

On to step 1:
5 divided by 77 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 77

Going ahead to step 2:
When dividing 56 by 77, we get 0 with a remainder of 56.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 56 leaves us with 56.
Include the next digit (1) from the dividend after 56, then repeat: 561 / 77

Step 3:
If we divide 561 by 77, we get 7 and a remainder of 22.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtract 539 from 561 to get 22.
Include the next digit (2) from the dividend after 22, then repeat: 222 / 77

Step 4:
77 can be fit into 222 2 times, resulting in a remainder of 68.
The next digit of our result is 2. 
Result so far: 72.0
If we take 154 away from 222, we end up with 68.
Append the next digit (6) from the dividend to 68 and continue with: 686 / 77

Advancing to step 5:
77 can be fit into 686 8 times, resulting in a remainder of 70.
Record the quotient 8 as the next digit in the result. 
Result so far: 728.0
If we subtract 616 from 686, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 6:
When dividing 700 by 77, we get 9 with a remainder of 7.
Put 9 as the next digit of the answer. 
Result so far: 728.9
The remainder is 7 after subtracting 693 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
70 divided by 77 is 0 with a remainder of 70.
Put 0 as the next digit of the answer. 
Result so far: 728.9
Deduct 0 from 70 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Let's proceed to step 8:
The number 77 fits into 700 9 times, leaving a remainder of 7.
The next digit of our result is 9. 
Result so far: 728.909
The remainder is 7 after subtracting 693 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 9:
If we divide 70 by 77, we get 0 and a remainder of 70.
Use 0 as the next digit of our solution. 
Result so far: 728.909
If we subtract 0 from 70, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 10:
700 divided by 77 is 9 with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 728.90909
Subtracting 693 from 700 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 11:
77 can be fit into 70 0 times, resulting in a remainder of 70.
The next digit of our result is 0. 
Result so far: 728.90909
Deduct 0 from 70 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 12:
77 goes into 700 9 times with a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 728.9090909
If we take 693 away from 700, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 13:
If we divide 70 by 77, we get 0 and a remainder of 70.
The next digit of our result is 0. 
Result so far: 728.9090909
The remainder is 70 after subtracting 0 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

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