GATE Computer ScienceHardGATE CS (PYQ pattern)

In the divisor lattice (D₃₆₀, |), a maximal chain goes from 1 to 360 multiplying by one prime at each step. How many maximal chains pass through neither 12 nor 30?

  1. A. 24
  2. B. 42
  3. C. 18
  4. D. 36

Correct answer: A. 24

All maximal chains: arrangements of 2,2,2,3,3,5 = 6!/(3!2!) = 60. Through 12 = 2²·3: 3 ways to reach 12, then 30 = 2·3·5 left: 3! = 6, so 18. Through 30: 3! = 6 to reach 30, then 12 = 2²·3 left: 3, so 18. No chain contains both (neither divides the other). 60 − 18 − 18 = 24.

More Discrete Mathematics questions

Exams that ask this topic