Problem

Source: 2024 IMOC N1 (Quiz P1)

Tags: number theory, prime, Perfect Squares



Proof that for every primes $p$, $q$ \[p^{q^2-q+1}+q^{p^2-p+1}-p-q\]is never a perfect square. Proposed by chengbilly