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

A257034
Numbers k such that 7*R_(k+2) + 2*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k.
0
0, 1, 3, 9, 16, 30, 45, 123, 171, 295, 324, 2785, 2791, 3910, 4015, 4050, 6319, 6415, 14670
OFFSET
1,3
COMMENTS
Also, numbers k such that (718*10^k - 7)/9 is prime.
Terms from Kamada.
a(20) > 2*10^5.
EXAMPLE
For k=3, 7*R_5 + 2*10^3 = 77777 + 2000 = 79777 which is prime.
MATHEMATICA
Select[Range[0, 30000], PrimeQ[(718*10^#-7)/9 ] &]
PROG
(Magma) [n: n in [0..400] | IsPrime((718*10^n-1) div 9)]; // Vincenzo Librandi, Apr 15 2015
CROSSREFS
Cf. A002275.
Sequence in context: A244475 A212870 A306447 * A232167 A058538 A197531
KEYWORD
nonn,hard,more
AUTHOR
Robert Price, Apr 14 2015
STATUS
approved