GATE Computer ScienceHardGATE CSE

Over the domain {1, …, 60}, let P(a, b) mean "a divides b". How many x satisfy ∀y ∀z [(P(y,x) ∧ P(z,x)) → (P(y,z) ∨ P(z,y))], i.e. all divisors of x are pairwise comparable?

  1. A. 26
  2. B. 25
  3. C. 17
  4. D. 24

Correct answer: A. 26

The divisors form a chain exactly when x = 1 or x is a prime power: 1, the 17 primes ≤ 60, and 4, 8, 16, 32, 9, 27, 25, 49 give 26.

More Discrete Mathematics questions

Exams that ask this topic