This was a question I got in a Math Competition
More clearly it was :
$p , q , r$ are prime numbers, where $ {p}\times{q}\times{r} = 19(p+q+r)$ and $ {p}\lt{q}\lt{r} $ Find the value of ${r}-{q}-{p}$
It is obvious that either $p,q,r$ is equal to 19 since the given identity is a multiple of 19 and $p,q,r$ are primes. Then brute work (testing out the other 2 numbers one by one) gave me the answer which was $3$ and $11$ fits into the identity $ {3}\times{11}\times{19} = 19(3+11+19)$. Hence the answer to the question is $19-11-3 =5 $
Now what I want to know is how do we find these answers more rigorously or is this question is designed to be done by testing out the 2 other numbers ? My lack of knowledge in number theory has prevented me from trying to solve this mathematically/rigorously. I am also interested in a modified equation of this question
$p , q , r$ are prime numbers, where $ {p}\times{q}\times{r} = p(p+q+r)$ and $ {p}\lt{q}\lt{r} $
What are the values of $q$ and $r$ if given some arbitrary prime $p$ ?
Edit: To the second question or an additional question. What I meant was
$p , q , r$ are prime numbers, where $ {p}\times{q}\times{r} = r(p+q+r)$ and $ {p}\lt{q}\lt{r} $
What are the values of $q$ and $p$ if given some arbitrary prime $r$ ?