We're dividing 999866 by 77 
The aim is to understand the frequency of 77 in 999866.

Moving on to step 1:
If we divide 9 by 77, we get 0 and a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 77

Step 2:
99 divided by 77 is 1 with a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 77 from 99, we get 22.
Bring next digit (9) of the dividend behind the 22 and repeat the process: 229 / 77

Going ahead to step 3:
If we divide 229 by 77, we get 2 and a remainder of 75.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we take 154 away from 229, we end up with 75.
Append the next digit (8) from the dividend to 75 and continue with: 758 / 77

Step 4:
77 can be fit into 758 9 times, resulting in a remainder of 65.
Use 9 as the next digit of our solution. 
Result so far: 129.0
Deduct 693 from 758 and we're left with 65.
Grab the next digit (6) from the dividend, add it to 65, then carry on: 656 / 77

Advancing to step 5:
The number 77 fits into 656 8 times, leaving a remainder of 40.
Record the quotient 8 as the next digit in the result. 
Result so far: 1298.0
Subtracting 616 from 656 leaves us with 40.
Bring next digit (6) of the dividend behind the 40 and repeat the process: 406 / 77

On to step 6:
When dividing 406 by 77, we get 5 with a remainder of 21.
The number 5 becomes the next digit in our result. 
Result so far: 12985.0
Subtract 385 from 406 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 7:
210 divided by 77 is 2 with a remainder of 56.
Use 2 as the next digit of our solution. 
Result so far: 12985.2
Subtract 154 from 210 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 8:
If we divide 560 by 77, we get 7 and a remainder of 21.
Put 7 as the next digit of the answer. 
Result so far: 12985.27
The remainder is 21 after subtracting 539 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 9:
When dividing 210 by 77, we get 2 with a remainder of 56.
The number 2 becomes the next digit in our result. 
Result so far: 12985.272
If we take 154 away from 210, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 10:
When dividing 560 by 77, we get 7 with a remainder of 21.
The number 7 becomes the next digit in our result. 
Result so far: 12985.2727
Deduct 539 from 560 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 11:
77 can be fit into 210 2 times, resulting in a remainder of 56.
Record the quotient 2 as the next digit in the result. 
Result so far: 12985.27272
Subtracting 154 from 210 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 12:
The number 77 fits into 560 7 times, leaving a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 12985.272727
Subtracting 539 from 560 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 13:
The number 77 fits into 210 2 times, leaving a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 12985.2727272
Deduct 154 from 210 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 14:
77 goes into 560 7 times with a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 12985.27272727
The remainder is 21 after subtracting 539 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

In conclusion, the division gives 12985.27272727 with a balance of 2.1e-08.