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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065798 Numbers n such that n^n - n - 1 is prime. 2
3, 4, 5, 6, 9, 17, 22, 85, 710, 844, 1379 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

There is no further term up to 3000. - Farideh Firoozbakht, Oct 19 2006

LINKS

Table of n, a(n) for n=1..11.

MATHEMATICA

Do[ If[ PrimeQ[ n^n - n - 1], Print[n]], {n, 1, 750} ]

PROG

(PARI) is(n)=ispseudoprime(n^n-n-1) \\ Charles R Greathouse IV, May 22 2017

CROSSREFS

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

Sequence in context: A293306 A014101 A039035 * A082671 A059877 A047307

Adjacent sequences:  A065795 A065796 A065797 * A065799 A065800 A065801

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Dec 05 2001

EXTENSIONS

More terms from Farideh Firoozbakht, Oct 19 2006

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 15 00:30 EST 2019. Contains 329988 sequences. (Running on oeis4.)