GATE Computer ScienceModerateGATE CS (PYQ pattern)
How many equivalence relations on {1, 2, …, 7} have exactly 3 equivalence classes, each with at least 2 elements?
- A. 105
- B. 301
- C. 210
- D. 70
Correct answer: A. 105
Class sizes must be 2 + 2 + 3. Choose the 3-block (C(7,3) = 35) and split the other 4 into two unordered pairs (3): 35 · 3 = 105.
More Discrete Mathematics questions
- How many partial orders on the labelled set {1, 2, 3, 4} have exactly one maximal element? (There are 19 partial orders on a labelled…
- How many injective functions f : {1, 2, 3, 4} → {1, 2, …, 7} satisfy f(i) ≠ i for every i?
- How many relations R on {1, 2, 3} have the property that the transitive closure of R is the full relation {1, 2, 3} × {1, 2, 3} (all 9…
- How many functions f : {1, …, 6} → {1, …, 6} have an image with exactly 3 elements and no fixed point (f(x) ≠ x for all x)?
- How many surjective functions f : {1, …, 6} → {a, b, c} satisfy f(1) = f(2)?
- How many down-sets (order ideals, including the empty set) does the divisor poset (D₁₈₀, |) have? (180 = 2²·3²·5)