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

%I

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

Content is available under The OEIS End-User License Agreement .

Last modified October 24 03:56 EDT 2014. Contains 248491 sequences.