Problem

Source: IX International Festival of Young Mathematicians Sozopol, Theme for 10-12 grade

Tags: number theory, prime numbers



Find all prime numbers $p$ and all positive integers $n$, such that $n^8 - n^2 = p^5 + p^2$