Mathematics (JEE)HardGATE CS
How many binary strings of length 7 have no two adjacent 1s and begin with 0?
- A. 34
- B. 13
- C. 21
- D. 20
Correct answer: C. 21
With the first digit fixed at 0, the remaining 6 digits must have no two adjacent 1s: F₈ = 21 such strings. Option 34 is the count for length 7 and forgets the fixed first digit.
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 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?
- 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?