I suppose I need to use prime factorization. I want to show $p^2-q^2=24k$ for some integer $k$ . How can I start this proof?
Asked
Active
Viewed 3,354 times
3 Answers
3
Like Stefan,
$$(6a\pm1)^2=36a^2\pm12a+1=24a^2+24\frac{a(a\pm1)}2+1\equiv1\pmod{24}$$ as the product of two consecutive integers is always even
Observe that $6a\pm1$ is not necessarily prime, but $(6a\pm1,6)=1$
So, any number $p$ relatively prime to $6$ will satisfy this
lab bhattacharjee
- 279,016
0
It's well-known fact that every prime number, except for $2$ and $3$ can be written as $6k \pm 1$. SO we have:
$$(6k \pm 1)^2 - (6l \pm 1)^2 = 36k^2 \pm 12k + 1 - 36l^2 \mp 12l - 1$$
$$= 36(k^2-l^2) \pm 12(k - l) = 12(3k^2 - 3l^2 \pm k \mp l)$$
The sum in the parenthesis is always even. Why?
Hence we proved that it's divisible by 24.
Stefan4024
- 36,357
-
-
-
-
It's just same as $\pm$, indeed you can use $\pm$ instead of $\mp$, because the those two signs are independent and can be chosen freely. – Stefan4024 Sep 28 '13 at 01:48
$$p^2 - q^2 \equiv 1 - 1 \equiv 0 \pmod {24} \implies p^2 - q^2 = 24k $$
– Stefan4024 Sep 28 '13 at 01:50