- Show that if $ n ^ 2 + 2 $ is prime, then $ 3 \mid n $.
- Show that the only prime of the form $n ^ 3-1$ is $7$.
For the 2. Let $ p = n ^ 3-1 $. Let's see that the only possibility for $ p = 7.$ For that note that $ n ^ 3-1 $ can be decomposed as follows. $$ n ^ 3-1 = (n-1) (n ^ 2 + n + 1). $$ Since $ p $ is prime, and $ p = n ^ 3-1 = (n-1) (n ^ 2 + n + 1) $, then there are two possibilities.
Possibility 1. That $ p = n-1 $ and $ n ^ 2 + n + 1 = 1 $. Hence it will follow that $ n = -1 $ or $ n = 0 $. But if we replace $ n = -1 $ or $ n = 0 $, then $ p $ would not be prime.
Possibility 2. That $ p = n ^ 2 + n + 1 $ and $ n-1 = 1 $. From this it follows that $ n = 2 $. Therefore, $$ p = 2 ^ 2 + 2 + 1 = 7. $$
Therefore we can conclude that the only prime that of the form $ n ^ 3-1 $ is $ 7 $, which ends the proof.
but for the $ 1 $ I have no idea how to do it, any help?