If p is a prime positive integer and x,y are positive integers,
find , in terms of p, all pairs (x,y) that are solutions of the equation: p(x−2)=x(y−1). (1)
If it is also given that x+y=21, find all triplets (x,y,p) that are solutions to equation (1). number theoryprimeDiophantine equationDiophantine Equations