A177007 Primes of the form n^(n-1)+n+1.
3, 5, 13, 631, 5242880000000000000000021
Offset: 1
Examples
For the prime p=5242880000000000000000021 we have p=20^19+21, so p is in the sequence. p is the only known prime of the form (q+1)^q+q+2 where q is an odd prime.
Programs
-
Mathematica
Do[If[PrimeQ[n^(n-1)+n+1], Print[n^(n-1)+n+1]], {n,5894}]
Comments