Question
The probability that a -digit number does NOT contain the digits 0, 5, or 9 is
Official answer and solution
- Official answer
- C
- From
- Official GATE 2017 answer key
Solution
Calculate the probability that an arbitrary digit position does not contain 0, 5, or 9, and apply the product rule across all k independent digits.
In a -digit sequence where each digit is chosen uniformly from the 10 decimal digits :
The total number of possible digits for each position is 10.
The digits that must NOT appear are , which is a set of 3 digits.
Therefore, the number of permissible digits for any given position is:
The probability that a single digit is permissible is:
Since the choice of each of the digits is independent, the probability that none of the digits are 0, 5, or 9 is:
C
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2017 Computer Science and Information Technology (CS) Session 1
- Question
- 60 of 65, printed as GA Q.60
- Section
- General Aptitude
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.