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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to prove that the equation $$x^2-3y^2=17$$ has no integer solutions? Can you help me?

share|cite|improve this question
@Ayman Hourieh Thanks a lot! – Dao yi Peng Jan 13 '13 at 13:14
up vote 4 down vote accepted

$$x^2-3y^2=17\implies x^2\equiv2\pmod 3$$

but $x$ can be $\equiv 0,\pm1\pmod 3\implies x^2\equiv0,1\pmod 3$

share|cite|improve this answer
@bhattachaejee Thank you very much! – Dao yi Peng Jan 13 '13 at 13:15
@DaoyiPeng, my pleasure. Don't miss the related question. – lab bhattacharjee Jan 13 '13 at 13:16
bhattachaejee OK! I need to see some Pell's eqution. – Dao yi Peng Jan 13 '13 at 13:18
@labbhattacharjee could you explain to me the step x can be $0, +- 1$? I'm not sure how that proves the answer.. – user128914 Mar 7 '14 at 1:08
@user128914, what are the possible remainders when divided by $3$? – lab bhattacharjee Mar 7 '14 at 3:20

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.