MathDB
Romania Junior TST 2021 Day 1 P2

Source:

May 16, 2021
number theoryprime numbersRomanian TSTTST

Problem Statement

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