2022 USAJMO Problems/Problem 5

Revision as of 07:18, 22 March 2023 by Abcdefgh1234567 (talk | contribs) (Solution)

Problem

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