The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.



Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127837 Numbers n such that ((n+1)^n-1)/n^2 is a prime. 3
2, 3, 5, 17, 4357 (list; graph; refs; listen; history; text; internal format)



All terms are primes. Corresponding primes of the form ((n+1)^n-1)/n^2 are listed in A128466(n) = {2, 7, 311, 7563707819165039903, ...}.

It seems that if p is in the sequence then the first three numbers n such that n^2 divides (p+1)^n-1 are: 1, p & ((p+1)^p-1)/p. 2 is in the sequence and the first three terms of A127103 are : 1, 2 & ((2+1)^2-1)/2; 3 is in the sequence and the first three terms of A127104 are : 1, 3 & ((3+1)^3-1)/3; 5 is in the sequence and the first three terms of A127106 are : 1, 5 & ((5+1)^5-1)/5.

No other terms below 20000. - Max Alekseyev, Apr 25 2007


Table of n, a(n) for n=1..5.


4357 is in the sequence because (4358^4357-1)/4357^2 is prime.


Cf. A128466, A037205, A060072, A060073, A058128, A128456, A127103, A127104, A127106, A128398.

Sequence in context: A092506 A275159 A127063 * A253646 A004249 A268210

Adjacent sequences:  A127834 A127835 A127836 * A127838 A127839 A127840




Farideh Firoozbakht and Alexander Adamchuk, Mar 13 2007



Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 26 01:22 EST 2020. Contains 338631 sequences. (Running on oeis4.)