Let's divide 986156 by 77
The aim is to understand the frequency of 77 in 986156.

Step 1:
The number 77 fits into 9 0 times, leaving a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 77

Let's proceed to step 2:
If we divide 98 by 77, we get 1 and a remainder of 21.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 77 from 98, we get 21.
Include the next digit (6) from the dividend after 21, then repeat: 216 / 77

Advancing to step 3:
77 goes into 216 2 times with a remainder of 62.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we subtract 154 from 216, we get 62.
Grab the next digit (1) from the dividend, add it to 62, then carry on: 621 / 77

On to step 4:
If we divide 621 by 77, we get 8 and a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 128.0
Deduct 616 from 621 and we're left with 5.
Append the next digit (5) from the dividend to 5 and continue with: 55 / 77

On to step 5:
55 divided by 77 is 0 with a remainder of 55.
Write down 0 as next digit of the result. 
Result so far: 1280.0
Subtract 0 from 55 to get 55.
Bring next digit (6) of the dividend behind the 55 and repeat the process: 556 / 77

Going ahead to step 6:
If we divide 556 by 77, we get 7 and a remainder of 17.
Use 7 as the next digit of our solution. 
Result so far: 12807.0
Deduct 539 from 556 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 7:
When dividing 170 by 77, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 12807.2
The remainder is 16 after subtracting 154 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
If we divide 160 by 77, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 12807.22
If we subtract 154 from 160, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final outcome is 12807.22, with a leftover of 0.006.