Mathematics (JEE)HardISI entrance

How many strings of length 5 over the alphabet {a, b, c} have no two equal letters next to each other?

  1. A. 48
  2. B. 60
  3. C. 81
  4. D. 24

Correct answer: A. 48

The first letter has 3 choices and each later letter has 2 (anything except the previous letter): 3 × 2⁴ = 48. Option 60 lets one position have 3 choices by mistake.

More Permutations, Combinations and Probability questions

Exams that ask this topic