Mathematics (JEE)ModerateCAT · MBA placement

How many strings of length 6 over {0, 1, 2} have no two consecutive equal symbols?

  1. A. 81
  2. B. 96
  3. C. 64
  4. D. 128

Correct answer: B. 96

The first symbol has 3 choices and each of the next 5 has 2 (any symbol except the previous one): 3 × 2⁵ = 96. Option 81 is 3⁴ and ignores the restriction.

More Permutations, Combinations and Probability questions

Exams that ask this topic