977172 divided by 99 
The aim is to understand the frequency of 99 in 977172.

Step 1:
When dividing 9 by 99, we get 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 99

Let's proceed to step 2:
99 can be fit into 97 0 times, resulting in a remainder of 97.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 97, we end up with 97.
Grab the next digit (7) from the dividend, add it to 97, then carry on: 977 / 99

Going ahead to step 3:
When dividing 977 by 99, we get 9 with a remainder of 86.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 891 away from 977, we end up with 86.
Append the next digit (1) from the dividend to 86 and continue with: 861 / 99

On to step 4:
When dividing 861 by 99, we get 8 with a remainder of 69.
Record the quotient 8 as the next digit in the result. 
Result so far: 98.0
If we subtract 792 from 861, we get 69.
Fetch the next digit (7) from the dividend, attach it to 69 and continue: 697 / 99

On to step 5:
If we divide 697 by 99, we get 7 and a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 987.0
Subtracting 693 from 697 leaves us with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 99

Advancing to step 6:
42 divided by 99 is 0 with a remainder of 42.
Record the quotient 0 as the next digit in the result. 
Result so far: 9870.0
If we subtract 0 from 42, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 7:
99 can be fit into 420 4 times, resulting in a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 9870.4
Subtracting 396 from 420 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 8:
When dividing 240 by 99, we get 2 with a remainder of 42.
Use 2 as the next digit of our solution. 
Result so far: 9870.42
If we take 198 away from 240, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 9:
When dividing 420 by 99, we get 4 with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 9870.424
If we take 396 away from 420, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 10:
If we divide 240 by 99, we get 2 and a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 9870.4242
Subtracting 198 from 240 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 11:
99 can be fit into 420 4 times, resulting in a remainder of 24.
The next digit of our result is 4. 
Result so far: 9870.42424
Deduct 396 from 420 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 12:
99 can be fit into 240 2 times, resulting in a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 9870.424242
The remainder is 42 after subtracting 198 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 13:
The number 99 fits into 420 4 times, leaving a remainder of 24.
The next digit of our result is 4. 
Result so far: 9870.4242424
The remainder is 24 after subtracting 396 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 14:
240 divided by 99 is 2 with a remainder of 42.
Use 2 as the next digit of our solution. 
Result so far: 9870.42424242
Subtracting 198 from 240 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The final result is 9870.42424242 with a remainder of 4.2e-08.