Placement AptitudeVery hardAmazon OA · CAT
How many subsets of {1, 2, …, 10}, including the empty set, contain no two consecutive numbers?
- A. 89
- B. 143
- C. 55
- D. 144
Correct answer: D. 144
If a(n) counts such subsets of {1, …, n}, then a(n) = a(n − 1) + a(n − 2) (n left out, or n in and n − 1 out), with a(1) = 2 and a(2) = 3. This gives 5, 8, 13, …, a(10) = 144. 143 leaves out the empty set.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- In how many ways can a 2 × 8 strip be completely covered with eight 1 × 2 tiles (each tile placed horizontally or vertically)?
- In an election, Asha gets 7 votes and Bimal gets 4. The 11 ballots are counted one by one in a random order. What is the probability that…
- Two different squares are chosen at random on an 8 × 8 chessboard. What is the probability that they share a side?
- Two queens are placed on two different squares of an 8 × 8 chessboard at random. What is the probability that they attack each other (same…
- Five people get into a lift on the ground floor of a building with 7 upper floors. Each gets off at one of the 7 floors at random…
- A fair coin is tossed repeatedly. What is the probability that the third head comes on exactly the fifth toss?