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?
- A. 48
- B. 60
- C. 81
- 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.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many strings of length 6 over {A, B, C} contain neither the substring AA nor the substring BB?
- How many binary strings of length 7 have no two adjacent 1s and begin with 0?
- How many binary strings of length 6 avoid three equal consecutive digits (no substring 000 or 111)?
- How many 4-digit strings over the digits 0 to 9 have their digits in non-decreasing order (each digit at least as large as the one before…
- How many words of length 6 over {a, b}, containing exactly two a's, are palindromes?
- How many words of length 5 over the alphabet {A, B, C, D} use every one of the four letters at least once?