%I #1 Jun 01 2010 03:00:00
%S 3,5,13,631,5242880000000000000000021
%N Primes of the form n^(n-1)+n+1.
%C Next such prime if it exists has more than 22222 digits.
%e For the prime p=5242880000000000000000021 we have p=20^19+21, so p
%e is in the sequence. p is the only known prime of the form (q+1)^q+q+2
%e where q is an odd prime.
%t Do[If[PrimeQ[n^(n-1)+n+1], Print[n^(n-1)+n+1]], {n,5894}]
%Y Cf. A177008, A177009, A177010, A177011
%K hard,more,nonn
%O 1,1
%A Farzad Kamanger (mymtain(AT)yahoo.com), May 11 2010
|