Mathematics (JEE)Very hard
Binary strings of length 5 are formed using the digits 0 and 1. How many such strings do NOT contain three consecutive 1s?
- A. 24
- B. 29
- C. 28
- D. 26
Correct answer: A. 24
Count by a recurrence on the length. Enumerating all 32 strings and removing those containing 111 gives 24. A common slip is to subtract only the strings that start with 111.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- From 6 men and 5 women, a committee of 5 is to be formed with at least 2 men and at least 2 women. In how many ways can this be done?
- How many 3-element subsets of {1, 2, …, 9} contain no two numbers whose difference is exactly 2?
- Four married couples sit in a row of eight chairs. In how many seatings is no couple seated next to each other?
- How many six-digit numbers have their digits in non-decreasing order from left to right (for example 112237) and contain exactly two…
- The letters A, A, B, B, C, C, D, D are arranged in a row in all distinct ways. How many arrangements have no two identical letters next to…
- Three cells are chosen from a 3 × 3 grid so that no two of them lie in the same row or the same column. How many ways are there to choose…