GATE Computer ScienceVery hardGATE CS (PYQ pattern)
There are 219 strict partial orders (irreflexive, transitive relations) on the labelled set {1, 2, 3, 4}, and 19 on a labelled 3-element set. How many strict partial orders on {1, 2, 3, 4} have exactly two minimal elements?
- A. 76
- B. 105
- C. 143
- D. 114
Correct answer: D. 114
Count the other cases. 4 minimal: the empty order, 1. 3 minimal: choose the one non-minimal element (4 ways) and its non-empty set of predecessors (7 ways) = 28. 1 minimal: that element is then below everything (it is the least element), and the other three carry any of the 19 orders: 4 × 19 = 76. Exactly two: 219 − 1 − 28 − 76 = 114.
More Discrete Mathematics questions
- How many equivalence relations on {1, 2, …, 7} relate 1 with 2, but relate neither 3 with 4 nor 1 with 3?
- On the integers define a R b iff a³ ≡ b³ (mod 504). How many equivalence classes does R have? (504 = 8 · 7 · 9)
- How many onto functions f : {1, …, 7} → {a, b, c, d} have exactly one element of the codomain with a single preimage?
- How many functions f : {1, …, 6} → {1, …, 6} satisfy f(f(f(x))) = f(x) for every x?
- How many permutations π of {1, …, 7} satisfy π⁶ = identity but π² ≠ identity?
- What is the largest size of a subset S of {1, 2, …, 40} such that 7 ∈ S and no element of S divides another element of S?