A Classical Introduction to Modern Number Theory
《A Classical Introduction to Modern Number Theory》 · 第 7 页 · Chapter 1,Exercise 26
If $a^n+1$ is a prime, show that $a$ is even and that $n$ is a power of $2$. Primes of the form $2^{2^r}+1$ are called Fermat primes.