GATE / CS ARCHIVE

GATE CSE 2011 / QUESTION 30

Predicate characterizing primes

Discrete Mathematics · Proof Techniques & Number Theory · Full GATE CSE 2011 paper

GATE 2011, Q30 2 marks · MCQ
Report issue

Proof Techniques & Number Theory

Question 30, GATE 2011: For positive integers x,y,z, let P(x)=NOT(x=1) AND ∀y((∃z(x=y*z)) ⇒ ((y=x) OR (y=1))). Which option correctly characterizes P(x)? The source says 'P(x) being true means' in A, B and D.

(A) x is prime
(B) x is a number other than 1
(C) P(x) is always true regardless of x
(D) x has exactly two factors other than 1 and x
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Our answer: A as exact characterization; B is also a necessary consequence

The predicate excludes 1 and requires every positive divisor y of x to be either 1 or x. Thus it is equivalent to x being prime, A. The wording P(x) being true means... is potentially only implication: under that reading B, x is a number other than 1, is also true because it is explicitly a conjunct. A is the exact characterization and the official choice; uniqueness requires reading means as a full characterization rather than any necessary consequence.

Read the inner existential as 'y divides x': there exists a positive integer z with x=yz. The universal implication then says that whenever y is a divisor it is either 1 or x. For x=7 only these divisors occur, whereas x=6 fails at y=2,z=3. The leading conjunct rejects x=1. D incorrectly requires additional factors, and C fails for composites. B is a necessary consequence but not a sufficient description, as 6 is not 1 yet does not satisfy P.

Original paper, page 8 · Answer key