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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122395 Primes of the form p^k - p^(k-1) - 1, with p prime and k>1. 1
3, 5, 7, 17, 19, 31, 41, 53, 109, 127, 271, 293, 499, 811, 929, 2027, 2161, 3659, 4373, 4421, 4969, 8191, 9311, 10099, 13121, 13309, 16001, 17029, 19181, 22051, 32579, 38611, 57839, 72091, 78607, 93941, 109229, 128521, 131071, 143261, 157211 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The paper by Stein and Williams gives a method for finding primes of this form when k>(p+1)/2.

LINKS

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

Andreas Stein and H. C. Williams, Explicit primality criteria for (p-1)p^n-1, Math. Comp. 69 (2000), 1721-1734.

MATHEMATICA

nn=10^6; lst={}; n=1; While[p=Prime[n]; k=2; While[m=p^k-p^(k-1)-1; m<nn, If[PrimeQ[m], AppendTo[lst, m]]; k++ ]; k>2, n++ ]; lst=Union[lst]

CROSSREFS

Cf. A122396.

Sequence in context: A163425 A191038 A299298 * A045401 A085499 A169628

Adjacent sequences:  A122392 A122393 A122394 * A122396 A122397 A122398

KEYWORD

nonn

AUTHOR

T. D. Noe, Aug 31 2006

STATUS

approved

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 April 11 18:00 EDT 2021. Contains 342888 sequences. (Running on oeis4.)