Mathematics (JEE)HardGATE CS

How many 6-letter words can be formed over the alphabet {1, 2, 3} so that every one of the symbols 1, 2, 3 appears at least once?

  1. A. 729
  2. B. 720
  3. C. 540
  4. D. 360

Correct answer: C. 540

By inclusion–exclusion: 3⁶ − 3·2⁶ + 3·1⁶ = 729 − 192 + 3 = 540. Option 729 counts all words, including ones missing a symbol.

More Permutations, Combinations and Probability questions

Exams that ask this topic