login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058911 Numbers n such that n^n + n + 1 is prime. 3
1, 2, 3, 6, 9, 462 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

0^0 is undefined, so 0 is not a member.

There is no further term up to 10000. - Farideh Firoozbakht (mymontain(AT)yahoo.com), Nov 11 2006

EXAMPLE

a(2)=2 because 2^2+(2+1)=7

MATHEMATICA

Do[ If[ PrimeQ[ n^n + n + 1], Print[n]], {n, 1, 700} ]

PROG

(PARI) f2(n, k) = for(x=1, n, y=x^x+x+k; if(ispseudoprime(y), print1(x", "))) - Cino Hilliard (hillcino368(AT)gmail.com), Jan 07 2005

CROSSREFS

Cf. (n^n+1-1) A058912.

Sequence in context: A145761 A071714 A077753 * A191542 A191668 A056060

Adjacent sequences:  A058908 A058909 A058910 * A058912 A058913 A058914

KEYWORD

nonn,hard,more

AUTHOR

Felice Russo (frusso(AT)micron.com), Jan 10 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 16:49 EST 2012. Contains 206058 sequences.