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

Going ahead to step 1:
The number 99 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 99

On to step 2:
The number 99 fits into 99 1 times, leaving a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 99 from 99 to get 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 99

On to step 3:
99 goes into 6 0 times with a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtract 0 from 6 to get 6.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 99

Let's proceed to step 4:
99 goes into 63 0 times with a remainder of 63.
Record the quotient 0 as the next digit in the result. 
Result so far: 100.0
If we subtract 0 from 63, we get 63.
Grab the next digit (7) from the dividend, add it to 63, then carry on: 637 / 99

Moving on to step 5:
99 goes into 637 6 times with a remainder of 43.
Use 6 as the next digit of our solution. 
Result so far: 1006.0
Subtract 594 from 637 to get 43.
Include the next digit (8) from the dividend after 43, then repeat: 438 / 99

On to step 6:
438 divided by 99 is 4 with a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 10064.0
Subtracting 396 from 438 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.

On to step 7:
420 divided by 99 is 4 with a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 10064.4
If we subtract 396 from 420, we get 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 8:
If we divide 240 by 99, we get 2 and a remainder of 42.
Use 2 as the next digit of our solution. 
Result so far: 10064.42
If we subtract 198 from 240, 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.

Step 9:
99 can be fit into 420 4 times, resulting in a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 10064.424
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 10:
The number 99 fits into 240 2 times, leaving a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 10064.4242
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 11:
99 goes into 420 4 times with a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 10064.42424
Subtract 396 from 420 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
The number 99 fits into 240 2 times, leaving a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 10064.424242
Deduct 198 from 240 and we're left 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.

Moving on to step 13:
When dividing 420 by 99, we get 4 with a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 10064.4242424
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.

Step 14:
If we divide 240 by 99, we get 2 and a remainder of 42.
The next digit of our result is 2. 
Result so far: 10064.42424242
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.

The quotient of the division is 10064.42424242, and the remainder is 4.2e-08.