GATE Computer ScienceVery hardGATE CS · ISRO
How many subsets of {1, 2, …, 12} (including the empty set) contain no two consecutive integers?
- A. 288
- B. 466
- C. 144
- D. 377
Correct answer: D. 377
The count satisfies a(n) = a(n−1) + a(n−2) with a(0) = 1, a(1) = 2, so a(12) = F₁₄ = 377.
More Discrete Mathematics questions
- How many transitive relations (not necessarily reflexive or symmetric) exist on a 4-element labelled set?
- How many spanning trees does the 3-dimensional hypercube graph Q₃ (8 vertices, 12 edges, vertices adjacent when their 3-bit labels differ…
- In how many ways can the 10 (labelled) vertices of the Petersen graph be properly coloured using colours from a fixed set of 3 colours…
- How many perfect matchings does the 4 × 4 grid graph (16 vertices; horizontal and vertical neighbours adjacent) have?
- How many antichains (the empty antichain and singletons included) does the poset (P({1,2,3,4}), ⊆) have?
- Beads in 3 colours are strung on a circular ring with 6 positions. Two colourings count as the same if one can be turned into the other by…