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”).

A056681
Numbers k such that 40*R_k + 1 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
2
1, 3, 10, 27, 54, 93, 474, 2079, 4834, 5844, 12337, 20193, 49528, 56988, 71545, 77308
OFFSET
1,2
COMMENTS
Also numbers k such that (4*10^(k+1)-31)/9 is prime.
FORMULA
a(n) = A099412(n+1) - 1. - Robert Price, Jan 30 2015
MATHEMATICA
Do[ If[ PrimeQ[40*(10^n - 1)/9 + 1], Print[n]], {n, 0, 7000}]
CROSSREFS
Sequence in context: A196232 A282282 A105660 * A192959 A100624 A320586
KEYWORD
hard,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2000
EXTENSIONS
a(11)-a(16) derived from A099412 by Robert Price, Jan 30 2015
STATUS
approved