2022 USAJMO Problems/Problem 5

Revision as of 14:14, 3 August 2023 by Bennetthuang (talk | contribs) (Problem)

Problem

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