Problem

Source: Rioplatense L3 2023 #1

Tags: number theory



Determine all triples $(x,y,p)$ of positive integers such that $p$ is prime, $p=x^2+1$ and $2p^2=y^2+1$.