We look at the division of 989788 by 99 
The aim is to understand the frequency of 99 in 989788.

Going ahead to step 1:
When dividing 9 by 99, we get 0 with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 99

Advancing to step 2:
98 divided by 99 is 0 with a remainder of 98.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 98 leaves us with 98.
Include the next digit (9) from the dividend after 98, then repeat: 989 / 99

Moving on to step 3:
989 divided by 99 is 9 with a remainder of 98.
The next digit of our result is 9. 
Result so far: 9.0
If we take 891 away from 989, we end up with 98.
Take the next digit (7) from the dividend and append it to 98, then repeat: 987 / 99

Moving on to step 4:
987 divided by 99 is 9 with a remainder of 96.
The next digit of our result is 9. 
Result so far: 99.0
The remainder is 96 after subtracting 891 from 987.
Take the next digit (8) from the dividend and append it to 96, then repeat: 968 / 99

On to step 5:
99 goes into 968 9 times with a remainder of 77.
Put 9 as the next digit of the answer. 
Result so far: 999.0
If we take 891 away from 968, we end up with 77.
Take the next digit (8) from the dividend and append it to 77, then repeat: 778 / 99

Advancing to step 6:
99 can be fit into 778 7 times, resulting in a remainder of 85.
Record the quotient 7 as the next digit in the result. 
Result so far: 9997.0
Deduct 693 from 778 and we're left with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Advancing to step 7:
When dividing 850 by 99, we get 8 with a remainder of 58.
The number 8 becomes the next digit in our result. 
Result so far: 9997.8
If we subtract 792 from 850, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 8:
The number 99 fits into 580 5 times, leaving a remainder of 85.
Put 5 as the next digit of the answer. 
Result so far: 9997.85
The remainder is 85 after subtracting 495 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

On to step 9:
If we divide 850 by 99, we get 8 and a remainder of 58.
Record the quotient 8 as the next digit in the result. 
Result so far: 9997.858
If we subtract 792 from 850, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Step 10:
The number 99 fits into 580 5 times, leaving a remainder of 85.
The next digit of our result is 5. 
Result so far: 9997.8585
If we take 495 away from 580, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Step 11:
When dividing 850 by 99, we get 8 with a remainder of 58.
The next digit of our result is 8. 
Result so far: 9997.85858
Subtracting 792 from 850 leaves us with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Moving on to step 12:
580 divided by 99 is 5 with a remainder of 85.
Record the quotient 5 as the next digit in the result. 
Result so far: 9997.858585
Subtracting 495 from 580 leaves us with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Going ahead to step 13:
When dividing 850 by 99, we get 8 with a remainder of 58.
Put 8 as the next digit of the answer. 
Result so far: 9997.8585858
Subtracting 792 from 850 leaves us with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 14:
580 divided by 99 is 5 with a remainder of 85.
Put 5 as the next digit of the answer. 
Result so far: 9997.85858585
Subtract 495 from 580 to get 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

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