OFFSET
1,1
COMMENTS
Next such prime if it exists has more than 22222 digits.
EXAMPLE
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.
MATHEMATICA
Do[If[PrimeQ[n^(n-1)+n+1], Print[n^(n-1)+n+1]], {n, 5894}]
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Farzad Kamanger (mymtain(AT)yahoo.com), May 11 2010
STATUS
approved