Total numbers in C:
100,000 to 999,999
These are all 6-digit numbers.
Count:
999,999 - 100,000 + 1 = 900,000
So the denominator is 900,000.
---
We want exactly 5 occurrences of the digit 3.
A 6-digit number with exactly five 3s looks like:
33333x
where one position contains a digit other than 3.
We count according to the position of the non-3 digit.
Case 1: The non-3 digit is in the first position.
x33333
The first digit cannot be 0 (otherwise it would not be a 6-digit number), and it cannot be 3.
Choices:
1, 2, 4, 5, 6, 7, 8, 9
So there are 8 possibilities.
---
Case 2: The non-3 digit is in one of the remaining five positions.
3x3333, 33x333, etc.
Now x can be any digit except 3, including 0.
So each position gives 9 choices.
Total:
5 * 9 = 45
---
Total favorable numbers:
8 + 45 = 53
Therefore,
Probability = 53 / 900,000
Answer: D
---
A common mistake:
You might think:
Choose 1 of the 6 positions for the non-3 digit, and give it 9 choices:
6 * 9 = 54
But this incorrectly counts 033333, which is not a 6-digit number and is not in the set C.
So we subtract that one invalid case:
54 - 1 = 53
giving the correct probability:
53 / 900,000.