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

A099414
Numbers k such that 4*R_k + 5 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
2
0, 3, 5, 6, 48, 108, 245, 1044, 20208, 52740, 89189, 130080, 183657, 197061, 348453
OFFSET
1,2
COMMENTS
Also numbers k such that (4*10^k + 41)/9 is prime.
a(12) > 10^5. - Robert Price, Nov 09 2014
FORMULA
a(n) = A056683(n-1) + 1.
MATHEMATICA
Do[ If[ PrimeQ[ 4(10^n - 1)/9 + 5], Print[n]], {n, 5000}]
PROG
(Magma) [n: n in [0..300] | IsPrime((4*10^n+41) div 9)]; // Vincenzo Librandi Nov 10 2014
CROSSREFS
Sequence in context: A086189 A137082 A242501 * A004785 A099744 A024601
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Oct 14 2004
EXTENSIONS
a(9)-a(11) from Robert Price, Nov 09 2014
a(12)-a(15) from Kamada data by Tyler Busby, Apr 29 2024
STATUS
approved