Placement AptitudeVery hardAmazon OA · CAT

How many subsets of {1, 2, …, 10}, including the empty set, contain no two consecutive numbers?

  1. A. 89
  2. B. 143
  3. C. 55
  4. 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.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic