Find all solutions to:
$$p_1 ^2 - p_2^2 = p_3^2 + 1$$
where $p_i$ is a prime number (positive of-course) The only solution that seems to exist is $(3,2,2)$ for $(p_1, p_2, p_3)$ accordingly. But I have no clue how to prove that no other solutions exist.. The only thing that jumps to my mind is assuming that another solution exists and somehow get to a contradiction...
I would highly appreciate your help, thank you!
Let $(p_1,p_2,p_3)\ne(3,2,2)$ If $p_1=2$ then we have $p_2^2+p_3^2=3$ which is impossible by the known theorem on the representation of a natural integer as a sum of two squares. Thus $p_1$ must be odd but in this case we have $p_2^2+p_3^2\equiv0\pmod4$ which is impossible since $p_2$ or $p_3$ must be distinct of $2$.