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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A134985 Numbers n such that (n-1)^(n+1) - n^n is prime. 1
5, 6, 7, 13, 17, 171, 174, 378 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

No more terms up to 10000. - Rick L. Shepherd, May 16 2008

LINKS

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

EXAMPLE

12^14 - 13^13 = 981043357956611, which is prime, so 13 is in the list.

MATHEMATICA

Select[Table[n, {n, 5, 400}], PrimeQ[(#-1)^(#+1)-#^#]&] (* Vladimir Joseph Stephan Orlovsky, Mar 03 2011*)

CROSSREFS

Sequence in context: A273929 A067531 A031029 * A111018 A161925 A078694

Adjacent sequences:  A134982 A134983 A134984 * A134986 A134987 A134988

KEYWORD

hard,more,nonn

AUTHOR

Carl R. White, Feb 05 2008

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 24 23:12 EST 2018. Contains 299630 sequences. (Running on oeis4.)