I know I have to use the division algorithm to put into the form $p^2 + 2 = 3q + r$ but everything I've tried after that has lead me to a dead end. I've mainly been trying to show $r=0$ or to make the right side a product. Any help or hints would be appreciated.
2026-04-11 18:05:54.1775930754
On
Let $p \geq 5$ and prime. Show $p^2 + 2$ is divisible by three.
102 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
4
There are 4 best solutions below
0
On
If you have already covered Fermat's little theorem, you could use $p^2\equiv 1\pmod 3$, so $p^2+2\equiv1+2\equiv0\pmod 3$ and therefore $p^2+2$ is divisible by 3.
If $p\geq 5$ is prime then $p=3n+k$ where $k\in\{1,2\}$ so that $$ 2+p^2=2+(3n+k)^2=2+9n^2+6nk+k^2=9n^2+6nk+3+(k-1)(k+1). $$ With $k\in\{1,2\}$, every term on the rightmost expression above is divisible by $3$ so $2+p^2$ is divisible by $3$.