login
A099417
Numbers k such that 5*R_k + 2 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
2
0, 1, 3, 4, 6, 10, 15, 22, 88, 207, 528, 960, 2100, 18522, 36783, 38517
OFFSET
1,3
COMMENTS
Also numbers k such that (5*10^k + 13)/9 is prime.
a(17) > 10^5. - Robert Price, Oct 18 2014
FORMULA
a(n) = A056686(n-1) + 1.
MATHEMATICA
Do[ If[ PrimeQ[ 5(10^n - 1)/9 + 2], Print[n]], {n, 0, 5000}]
CROSSREFS
Sequence in context: A125869 A059618 A114736 * A139463 A287067 A310004
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Oct 14 2004
EXTENSIONS
a(14)-a(16) from Robert Price, Oct 18 2014
STATUS
approved