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?
- A. 26
- B. 25
- C. 17
- 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
- How many labelled simple graphs on the vertex set {1,…,7} are 2-regular (every vertex has degree exactly 2)?
- The Mycielskian of the 5-cycle C₅ (the Grötzsch graph, 11 vertices) is triangle-free. What is its chromatic number?
- How many distinct Hamiltonian cycles (as undirected edge sets, with no starting point or direction) does the complete bipartite graph K₄,₄…
- What is the smallest k such that every k-element subset of {1, 2, …, 30} contains two distinct elements whose sum is divisible by 7?
- How many integers from 1 to 2000 inclusive are divisible by none of 3, 5, 7 and 11?
- How many of the 256 assignments to x₁, …, x₈ satisfy all of: x₁ → x₂, x₂ → x₃, x₃ → x₄, x₅ → x₆, x₆ → x₇, x₇ → x₈, x₄ → ¬x₅ and x₈ → x₁?