Mathematics (JEE)ModerateCAT · MBA placement

How many 4-digit numbers use only the digits 1 and 2, with each digit used at least once?

  1. A. 14
  2. B. 16
  3. C. 8
  4. 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.

More Permutations, Combinations and Probability questions

Exams that ask this topic