-1

I want to prove if following is true for every integer a,b and c

$$a^2 - b^2 = cp $$

then p|(a+b) or p|(a-b) where p is a prime number. Any suggestion, help would be highly appreciated. Thanks in advance

  • 2
    Since $a^2-b^2=(a+b)(a-b)$, you have $cp = (a+b)(a-b)$, hence $p | (a+b)(a-b)$, hence $p|(a+b)$ or $p|(a-b)$. – mjqxxxx Nov 13 '13 at 17:13
  • how can you conlude just like that? – Bledi Boss Nov 13 '13 at 17:30
  • One can either define prime numbers by that property, or appeal to unique prime factorization. If $p \mid xy$, then $p$ is in the factorization of $xy$, so it's either a factor of $x$ or of $y$. – Henry Swanson Nov 13 '13 at 19:50

1 Answers1

1

$$a^2-b^2=cp\implies a^2\equiv b^2\pmod p$$

If $p|a, b^2\equiv0\pmod p\implies b\equiv0$

Else $(ab,p)=1\implies \left(\frac ab\right)^2\equiv1\pmod p$

Now use this