Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A058911
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A058911 Numbers n such that n^n + n + 1 is prime. +0
3
1, 2, 3, 6, 9, 462 (list; graph; listen)
OFFSET

1,2

COMMENT

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} ]

PROGRAM

(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.

Adjacent sequences: A058908 A058909 A058910 this_sequence A058912 A058913 A058914

Sequence in context: A002076 A071714 A077753 this_sequence A056060 A056058 A028255

KEYWORD

nonn,hard,more

AUTHOR

Felice Russo (felice.russo(AT)katamail.com), Jan 10 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research