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

A294489
Numbers k such that (77*10^k - 59)/9 is prime.
0
0, 1, 4, 6, 12, 28, 39, 58, 73, 102, 141, 409, 423, 567, 831, 930, 1515, 2619, 5727, 9235, 12706, 13189, 37182, 73917
OFFSET
1,3
COMMENTS
For k > 1, numbers k such that the digit 8 followed by k-2 occurrences of the digit 5 followed by the digits 49 is prime (see Example section).
a(25) > 2*10^5.
EXAMPLE
4 is in this sequence because (77*10^4 - 59)/9 = 85549 is prime.
Initial terms and associated primes:
a(1) = 0, 2;
a(2) = 1, 79;
a(3) = 4, 85549;
a(4) = 6, 8555549;
a(5) = 12, 8555555555549; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(77*10^# - 59)/9] &]
PROG
(PARI) isok(n) = isprime((77*10^n - 59)/9); \\ Michel Marcus, Nov 01 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 31 2017
STATUS
approved