Problem

Source: Romanian JBMO TST, Day 4, Problem 12

Tags: modular arithmetic, number theory proposed, number theory



Find all positive integers $n$ and $p$ if $p$ is prime and \[ n^8 - p^5 = n^2+p^2 . \] Adrian Stoica