Problem

Source: IMO Shortlist 2012, Number Theory 8

Tags: Gauss, modular arithmetic, number theory, Divisibility, prime, IMO Shortlist



Prove that for every prime $p>100$ and every integer $r$, there exist two integers $a$ and $b$ such that $p$ divides $a^2+b^5-r$.