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!)
A100837 Numbers n such that n^n + 4 is prime. 6
0, 1, 3, 7, 43, 2569 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
From a post in [primeNumbers].
Here we interpret 0^0 as 1.
LINKS
MATHEMATICA
For[n = 1, n < 1000, n++, If[ PrimeQ[n^n + 4], Print[n]]] (* Stefan Steinerberger, Apr 02 2006 *)
PROG
(PARI) f1(n, a) = for(x=0, n, y=x^x+a; if(ispseudoprime(y), print1(y", ")))
CROSSREFS
Cf. A100840 (corresponding primes).
Sequence in context: A156893 A050639 A280717 * A253576 A354428 A328690
KEYWORD
hard,more,nonn
AUTHOR
Cino Hilliard, Jan 07 2005
EXTENSIONS
1 more term. Next term exceeds 15000. - Sean A. Irvine, Sep 09 2009
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 May 4 00:31 EDT 2024. Contains 372225 sequences. (Running on oeis4.)