GATE Computer ScienceVery hardGATE CS (PYQ pattern)
In how many ways can 7 distinct people be divided into non-empty unlabelled groups so that every group has at least 2 people?
- A. 140
- B. 162
- C. 203
- D. 175
Correct answer: B. 162
Block-size patterns: 7 (1), 5+2 (21), 4+3 (35), 3+2+2 (105): total 162. Bell(7) = 877 includes groups with singletons.
More Discrete Mathematics questions
- In how many ways can 50 be written as an unordered sum of 2s, 5s and 10s that uses at most three 10s?
- How many words of length 8 over the alphabet {a, b, c} contain each of the letters a, b and c an even number of times (zero allowed)?
- How many binary search trees on the keys 1, 2, …, 9 have 4 at the root and 7 as the right child of the root?
- How many permutations of {1, …, 8} have no cycle of length 1 or 2 (every cycle has length ≥ 3)?
- How many permutations π of {1, …, 8} satisfy π² = identity with none of 1, 2, 3 being a fixed point?
- In an election A gets 10 votes and B gets 6. Votes are counted one at a time (votes for the same candidate indistinguishable). In how many…