GATE Computer ScienceVery hardGATE CS (PYQ pattern)

Let P be the set of divisors of 360 that are NOT multiples of 6, ordered by divisibility. How many edges does the Hasse diagram of P have (covering relations within P)?

  1. A. 17
  2. B. 46
  3. C. 12
  4. D. 16

Correct answer: D. 16

P = odd divisors {1,3,9,5,15,45} (a 3×2 grid, 7 cover edges) ∪ divisors coprime to 3 {1,2,4,8,5,10,20,40} (a 4×2 grid, 10 edges). The two grids share 1, 5 and the edge 1–5, and no even element is comparable to 3, 9, 15, 45 except through 1 and 5. Edges = 7 + 10 − 1 = 16.

More Discrete Mathematics questions

Exams that ask this topic