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

A282571
Numbers k such that 2*10^k - 27 is prime.
0
2, 3, 4, 9, 26, 40, 41, 56, 82, 114, 150, 155, 203, 213, 578, 2638, 4761, 10202, 14211, 16421, 18047, 30701, 53834, 66826, 115784, 141407
OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 1 followed by k-2 occurrences of the digit 9 followed by the digits 73 is prime (see Example section).
a(27) > 2*10^5.
EXAMPLE
3 is in this sequence because 2*10^3 - 27 = 1973 is prime.
Initial terms and associated primes:
a(1) = 2, 173;
a(2) = 3, 1973;
a(3) = 4, 19973;
a(4) = 9, 1999999973;
a(5) = 26, 199999999999999999999999973; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[2*10^# - 27] &]
PROG
(PARI) isok(k) = isprime(2*10^k - 27); \\ Michel Marcus, Feb 19 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Feb 18 2017
EXTENSIONS
a(25)-a(26) from Robert Price, May 05 2018
STATUS
approved