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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

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 November 26 01:49 EST 2014. Contains 250017 sequences.