2022 USAJMO Problems/Problem 5

Revision as of 20:36, 19 April 2022 by Wlm7 (talk | contribs) (Problem)

Problem

Find all pairs of primes $(p,q)$ for which $p-q$ and $pq-q$ are both perfect squares.

Solution