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

%I #7 Aug 03 2014 14:16:31

%S 5,6,7,13,17,171,174,378

%N Numbers n such that (n-1)^(n+1) - n^n is prime.

%C No more terms up to 10000. - _Rick L. Shepherd_, May 16 2008

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

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

%K hard,more,nonn

%O 1,1

%A _Carl R. White_, Feb 05 2008

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 April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)