Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
login
The OEIS is supported by the many generous donors 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
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 * A371029 A111018 A326132
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 22:11 EDT 2024. Contains 375284 sequences. (Running on oeis4.)