OFFSET
1,3
COMMENTS
"Are there any n except 1, 2 and 4 that make n^n + 1 a prime? He [SierpiĆski] has shown that if such a prime exists it is greater than 10^30000." - Ogilvy and Anderson
REFERENCES
C. Stanley Ogilvy and John T. Anderson, Excursions in Number Theory. Dover. New York: 1988. Page 82.
LINKS
Hans Havermann and Seiichi Manyama, Table of n, a(n) for n = 1..2500 (Seiichi Manyama to 500)
MATHEMATICA
Array[Block[{k = 1}, While[! PrimeQ[k + #], k++]; k] &[#^#] &, 65] (* Michael De Vlieger, Jul 06 2018 *)
PROG
(PARI) a(n)=(x->nextprime(x)-x)(n^n) \\ Charles R Greathouse IV, Nov 25 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 03 2002
EXTENSIONS
More terms from Robert G. Wilson v, Oct 04 2002
Name taken from Comments section by Jon E. Schoenfield, Jan 14 2015
STATUS
approved