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

A294727
Numbers k such that (5*10^k - 173)/3 is prime.
0
2, 3, 5, 7, 13, 79, 98, 273, 1173, 3008, 3118, 4352, 4748, 5648, 11167, 11750, 12555, 26613, 88303
OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 1 followed by k-2 occurrences of the digit 6 followed by the digits 09 is prime (see Example section).
a(20) > 2*10^5.
EXAMPLE
2 is in this sequence because (5*10^2 - 173)/3 = 109 is prime.
Initial terms and associated primes:
a(1) = 2, 109;
a(2) = 3, 1609;
a(3) = 5, 166609;
a(4) = 7, 16666609;
a(5) = 13, 16666666666609; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(5*10^# - 173)/3] &]
PROG
(PARI) isok(k) = isprime((5*10^k - 173)/3); \\ Michel Marcus, Nov 12 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 11 2017
STATUS
approved