Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.


Determine all positive integers $x$ and $y$ that satisfy the equation $x^2 + 2 = 5y$.

share|cite|improve this question

2 Answers 2

up vote 1 down vote accepted

Hint: When is $5y - 2$ a square? Modulo 5 this is $5y - 2 = 3$, but squares mod 5 are always 0, 1 or 4 so the equation has no solutions.

share|cite|improve this answer
This question is tagged as homework; please give hints, not full answers. – Qiaochu Yuan Nov 8 '10 at 13:51

HINT $\rm\ \ x^2 \equiv\ \ldots\ \:(mod\ 5)\ $ versus $\rm\ \mathbb Z^2\ \equiv\ \{0,\:\pm1,\:\pm2\}^2\ \equiv\ \ldots \ \:(mod\ 5)$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.