|
|
A100837
|
|
Numbers n such that n^n + 4 is prime.
|
|
6
|
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
From a post in [primeNumbers].
Here we interpret 0^0 as 1.
|
|
LINKS
|
Table of n, a(n) for n=1..6.
|
|
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 A328690 A019011
Adjacent sequences: A100834 A100835 A100836 * A100838 A100839 A100840
|
|
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
|
|
|
|