Question 10
Let be the set of all seven-digit numbers that can be formed using the digits 0, 1 and 2. For example, 2210222 is in , but 0210222 is NOT in . Then the number of elements in such that at least one of the digits 0 and 1 appears exactly twice in , is equal to ____________.
Detailed Solution
Let be the set of numbers where digit appears exactly twice, and be the set where digit appears exactly twice. We need to find .
-
Finding : Digit cannot be at the 1st position. Choose positions for out of the remaining : ways. The 1st position can be filled by or ( ways). The remaining positions can be filled by or ( ways). .
-
Finding : Case i: 1st digit is . Remaining positions must contain exactly one . ways. Other positions filled by or : ways. Total = . Case ii: 1st digit is . Remaining positions must contain exactly two s. ways. Other positions filled by or : ways. Total = . .
-
Finding : Case i: 1st digit is . One more needed in remaining slots, and two s needed. . Remaining slots must be . Case ii: 1st digit is . Two s and two s needed in remaining slots. . Remaining slots must be . .
-
Calculation: . Final Answer: 762
Boost Your Exam Preparation!
Move beyond just reading solutions. Access our comprehensive Test Series, original Mock Tests, and interactive learning modules. Many premium tests are completely free!
- Original Mocks & Regular Test Series
- Real NTA-like Interface with Analytics
- Many Free Tests Available