The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100840 Primes of the form n^n + 4. 2
5, 31, 823547, 17343773367030267519903781288812032158308062539012091953077767198995511 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
From Daniel Starodubtsev, Aug 03 2019: (Start)
a(5) = 2569^2569 + 4 (8760 digits long).
a(6) > 15000^15000 + 4. (End)
LINKS
MATHEMATICA
lst={}; Do[p=n^n+4; If[PrimeQ[p], AppendTo[lst, p]], {n, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Nov 01 2009 *)
Select[Table[n^n+4, {n, 50}], PrimeQ] (* Harvey P. Dale, Oct 09 2020 *)
PROG
(PARI) f1(n, a) = for(x=0, n, y=x^x+a; if(ispseudoprime(y), print1(y", ")))
CROSSREFS
Cf. A100837 (corresponding n).
Sequence in context: A278574 A062631 A156027 * A265159 A247549 A140154
KEYWORD
hard,nonn
AUTHOR
Cino Hilliard, Jan 07 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 11 18:20 EDT 2024. Contains 373315 sequences. (Running on oeis4.)