OFFSET
1,1
COMMENTS
For k > 1, numbers such that the digit 4 followed by k-2 occurrences of the digit 9 followed by the digits 19 is prime (see Example section).
a(29) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 49w19.
EXAMPLE
3 is in this sequence because 5*10^3 - 81 = 4919 is prime.
Initial terms and associated primes:
a(1) = 2, 419;
a(2) = 3, 4919;
a(3) = 4, 49919;
a(4) = 13, 49999999999919;
a(5) = 15, 4999999999999919; etc.
MATHEMATICA
Select[Range[1, 100000], PrimeQ[5*10^# - 81] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Apr 13 2017
EXTENSIONS
a(28) from Robert Price, Jan 21 2019
STATUS
approved