Problem

Source: New Zealand NZMOC Camp Selection Problems 2010 Juniors 3

Tags: number theory, prime



Find all positive integers n such that $n^5 + n + 1$ is prime.