# RMO 3

Find the number of ordered triples $$( p,q,r )$$ of primes such that $$pq=r+1$$ and $$2(p^2+q^2)=r^2+1$$.

×