Problem

Source:

Tags: number theory, prime numbers, Romanian TST, TST



Find all the pairs of positive integers $(x,y)$ such that $x\leq y$ and \[\frac{(x+y)(xy-1)}{xy+1}=p,\]where $p$ is a prime number.