Let p, q, and r be prime numbers such that $$2pqr + p + q + r = 2020$$ Find $$ pq +qr+rp $$ I believe I got the correct answer of $p,q,r$ being $2, 17, 29$ which results in an answer of $585$. I solved it because I knew one of the prime numbers had to be $2$ as $2pqr$ is always even and $p + q + r$ will be odd without $2$ as $2$ is the only even prime where the sum must be even as $2020$ is even. Then setting $p=2$ I was able to see $17$ and $29$ would work. As this was during a math competition I did not use rigorous techniques as I needed to do it quickly.
What could be a fast rigorous way to do this question? Any help would be greatly appreciated, thanks.