If $m > n$ and $a = 2mn$, $b = m^2 − n^2$ and $c = m^2 + n^2$ then $(a, b, c)$ is a Pythagorean triple.
Show that triples where $a = b\pm 1$ will only occur if $2n^2\pm 1$ is a perfect square.
For the life of me, I can't figure it out. what am I supposed to plug in to get this?