We divide 995173 by 99
The aim is to understand the frequency of 99 in 995173.

On to 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
Subtract 0 from 9 to get 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 99

On to step 2:
The number 99 fits into 99 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 99 from 99 leaves us with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 99

Step 3:
99 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 10.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 99

On to step 4:
When dividing 51 by 99, we get 0 with a remainder of 51.
The next digit of our result is 0. 
Result so far: 100.0
The remainder is 51 after subtracting 0 from 51.
Append the next digit (7) from the dividend to 51 and continue with: 517 / 99

On to step 5:
If we divide 517 by 99, we get 5 and a remainder of 22.
Put 5 as the next digit of the answer. 
Result so far: 1005.0
If we take 495 away from 517, we end up with 22.
Grab the next digit (3) from the dividend, add it to 22, then carry on: 223 / 99

Going ahead to step 6:
The number 99 fits into 223 2 times, leaving a remainder of 25.
The next digit of our result is 2. 
Result so far: 10052.0
Subtract 198 from 223 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 7:
When dividing 250 by 99, we get 2 with a remainder of 52.
The next digit of our result is 2. 
Result so far: 10052.2
If we subtract 198 from 250, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 8:
The number 99 fits into 520 5 times, leaving a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 10052.25
If we take 495 away from 520, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 9:
99 goes into 250 2 times with a remainder of 52.
Use 2 as the next digit of our solution. 
Result so far: 10052.252
Deduct 198 from 250 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 10:
The number 99 fits into 520 5 times, leaving a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 10052.2525
Deduct 495 from 520 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 11:
250 divided by 99 is 2 with a remainder of 52.
The next digit of our result is 2. 
Result so far: 10052.25252
If we subtract 198 from 250, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 12:
When dividing 520 by 99, we get 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 10052.252525
If we take 495 away from 520, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 13:
99 can be fit into 250 2 times, resulting in a remainder of 52.
Record the quotient 2 as the next digit in the result. 
Result so far: 10052.2525252
The remainder is 52 after subtracting 198 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 14:
99 can be fit into 520 5 times, resulting in a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 10052.25252525
If we subtract 495 from 520, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The final result is 10052.25252525 with a remainder of 2.5e-08.