GATE 2011 CS (CS1) – Question 40
For positive integers x,y,z, define $P(x)=\neg(x=1)\land\forall y[(\exists z(x=yz))\Rightarrow((y=x)\lor(y=1))]$. Which is correct?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) P(x) means x is prime
Explanation
The existential product condition identifies y as a positive divisor of x. The implication requires every such divisor to be either one or x, and the first clause excludes x=1. This is precisely primality, A. The quantifier restricts possible divisors rather than asserting all integers divide x.
More Discrete Mathematics: Propositional and First Order Logic questions
- GATE 2010 CS (CS1) Q40
- GATE 2015 CS (CS2) Q11
- GATE 2015 CS (CS2) Q63
- GATE 2015 CS (CS3) Q26
- GATE 2021 CS (CS2) Q25
- GATE 2026 CS (CS2) Q11
All Discrete Mathematics: Propositional and First Order Logic questions →