Mathematics (JEE)Very hardJEE Advanced
How many binary strings of length 6 avoid three equal consecutive digits (no substring 000 or 111)?
- A. 42
- B. 32
- C. 64
- D. 26
Correct answer: D. 26
Split the string into runs of length 1 or 2: compositions of 6 into 1s and 2s number 13, and the first digit has 2 choices, giving 26. Option 64 is the unrestricted total 2⁶.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- 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?
- How many words of length 4 over {A, B, C} contain all three letters at least once?
- How many binary strings of length 8 contain at most two 1s?
- The letters of MISSISSIPPI are arranged in all distinct ways. How many arrangements do NOT have all four S's together as one block?