Mathematics (JEE)ModerateCAT · MBA placement
How many 4-digit numbers use only the digits 1 and 2, with each digit used at least once?
- A. 14
- B. 16
- C. 8
- D. 12
Correct answer: A. 14
Total strings over {1,2} of length 4 are 16; removing the all-1 and all-2 strings leaves 14. Option 16 forgets the 'at least once' condition.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many 4-element subsets of {1, 2, …, 8} have no two consecutive integers?
- How many 2 × 6 binary matrices have every column containing exactly one 1?
- How many arrangements of the letters of the word PEPPER are possible with the two E's adjacent?
- How many lattice paths from (0, 0) to (2, 4) with unit steps right and up exist that never touch the point (1, 2)?
- A 3-element set of positive integers has all its elements at most 10. How many such sets have their sum equal to 12?
- How many integers from 1 to 1000 are divisible by 6 but not by 4?