login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A127996
Numbers n such that (21^n - 1)/20 is prime.
25
3, 11, 17, 43, 271, 156217, 328129
OFFSET
1,1
LINKS
H. Dubner, Generalized repunit primes, Math. Comp., 61 (1993), 927-930.
MATHEMATICA
Select[Prime[Range[100]], PrimeQ[(21^#-1)/20]&]
PROG
(Prime95) PRP=1, 21, 328129, -1, 0, 0, "20"
(PARI) is(n)=isprime((21^n-1)/20) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A176804 A078116 A245045 * A032008 A061368 A145701
KEYWORD
hard,more,nonn
AUTHOR
Alexander Adamchuk, Feb 11 2007
EXTENSIONS
a(6)=156217 is a probable prime discovered by Paul Bourdelais, Apr 26 2010
a(7)=328129 is a probable prime discovered by Paul Bourdelais, Jun 02 2014
STATUS
approved