The GATE Grind

GATE 2011 CS (CS1) – Question 40

Engineering Mathematics · Discrete Mathematics: Propositional and First Order Logic · 2 marks · Multiple choice

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?

  1. P(x) means x is prime
  2. P(x) means x differs from one
  3. P(x) is always true
  4. P(x) means x has exactly two factors other than one and x

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

All Discrete Mathematics: Propositional and First Order Logic questions →