GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A family F of subsets of {1, 2, 3} is union-closed if A ∪ B ∈ F whenever A, B ∈ F. How many union-closed families (including the empty family) are there?

  1. A. 122
  2. B. 127
  3. C. 128
  4. D. 113

Correct answer: A. 122

Brute force over the 2⁸ families of subsets of the 8-element power set yields 122 union-closed families.

More Discrete Mathematics questions

Exams that ask this topic