Mathematics (JEE)HardGATE CS

How many words of length 6 over {a, b, c} have no two equal letters adjacent?

  1. A. 729
  2. B. 192
  3. C. 48
  4. D. 96

Correct answer: D. 96

The first letter has 3 choices; each later letter must differ from its predecessor, so 2 choices. Total 3 × 2⁵ = 96.

More Permutations, Combinations and Probability questions

Exams that ask this topic