Mo2men wrote:If x and y are positive integers, is x a prime number?
(1) |x−2|< 2−y
(2) x+y−3=|1−y|
Statement 1: |x−2|< 2−y
Since the absolute value on the left side cannot be less than 0, the right side must be GREATER THAN 0:
2-y > 0
2 > y
y < 2.
Since the prompt constrains x and y to positive integers, y = 1.
Substituting y=1 into |x-2| < 2-y, we get:
|x-2| < 1.
For the left side to be less than 1, the expression inside the absolute value must be equal to 0:
x-2 = 0
x = 2.
SUFFICIENT.
Statement 2: x+y−3=|1−y|
Case 1: y=1
Substituting y=1 into x+y−3=|1−y|, we get:
x+1-3 = |1-1|
x-2 = 0
x=2.
Case 2: y=2
Substituting y=2 into x+y−3=|1−y|, we get:
x+2-3 = |1-2|
x-1 = 1
x=2.
Case 3: y=100
Substituting y=100 into x+y−3=|1−y|, we get:
x+97 = |1-100|
x+97 = 99
x=2.
In every case, x=2.
SUFFICIENT.
The correct answer is D.












