Show that for any prime number $p$, $q$, $r$, one has $p^2+q^2$ does not equal to $r^2$.
I have no idea how to start and prove it. One stumbling part is that we cannot deduce with certainty that r must be odd. I tried using the $(p+q)^2$ identity but cannot proceed further.
Look at the equation $\pmod 4$. $p,q$ cannot be both odd since $2$ is not a quadratic residue $\pmod 4$. So say $p$ is even so $p = 2$. Then look at the equation $\pmod 3$. $q^2$ is either $1$ or $0$ $\pmod 3$ but it cannot be $1$ so it must be $0 \pmod 3$. Thus $q = 3$ and $2+3 = 7$ is not a square.