Mathematics (JEE)HardGATE CS
How many words of length 6 over {a, b, c} have no two equal letters adjacent?
- A. 729
- B. 192
- C. 48
- 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.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many binary strings of length 8 contain no two consecutive 1s?
- How many strings of length 5 over {0, 1, 2} contain exactly two 0s and no two 1s adjacent?
- How many permutations p of {1, 2, 3, 4, 5, 6} satisfy p(1) ≠ 1, p(2) ≠ 2 and p(3) ≠ 3?
- How many strings of length 6 over the alphabet {x, y, z} read the same forwards and backwards?
- How many 3-digit strings from the digits {0, 1, 2, 3} have all digits distinct and a non-zero first digit?
- How many 4-digit numbers with distinct digits from {1, 2, 3, 4, 5, 6} have the digits 3 and 4 in adjacent positions?