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; internal format)
OFFSET

1,1

COMMENTS

No more terms up to 10000. - Rick L. Shepherd (rshepherd2(AT)hotmail.com), May 16 2008

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)-#^#]&] (*From Vladimir Joseph Stephan Orlovsky, Mar 03 2011*)

CROSSREFS

Sequence in context: A047574 A067531 A031029 * A111018 A161925 A078694

Adjacent sequences:  A134982 A134983 A134984 * A134986 A134987 A134988

KEYWORD

hard,more,nonn

AUTHOR

Carl R. White (oeisfan(AT)phodd.net), Feb 05 2008

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 13 11:34 EST 2012. Contains 205467 sequences.