GATE Computer ScienceVery hardGATE CSE · UGC NET
In how many ways can the set {1, 2, …, 8} be partitioned into non-empty blocks so that every block has at least 2 elements?
- A. 1050
- B. 715
- C. 4140
- D. 1155
Correct answer: B. 715
Enumerating all 4140 set partitions (restricted growth strings) and discarding any with a singleton block leaves 715.
More Discrete Mathematics questions
- How many integer solutions does x₁ + x₂ + x₃ + x₄ + x₅ = 30 have if 3 ≤ xᵢ ≤ 10 for every i?
- A path runs from (0,0) to (7,7) using unit steps right (+1,0) or up (0,+1). It must satisfy y ≤ x at every lattice point visited and must…
- What is the value of 7^(7^7) mod 100 (the last two digits of 7 raised to the power 7⁷)?
- How many equivalence relations on the set {1, 2, 3, 4, 5, 6, 7} have exactly 3 equivalence classes?
- What is the maximum number of regions into which 6 circles can divide the plane (any two circles meet in at most 2 points)?
- Over the domain {1, …, 60}, let P(a, b) mean "a divides b". How many x satisfy ∀y ∀z [(P(y,x) ∧ P(z,x)) → (P(y,z) ∨ P(z,y))], i.e. all…