OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 1 followed by k-2 occurrences of the digit 4 followed by the digits 29 is prime (see Example section).
a(18) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 14w29.
EXAMPLE
3 is in this sequence because (13*10^3 - 139)/9 = 1429 is prime.
Initial terms and associated primes:
a(1) = 3, 1429;
a(2) = 7, 14444429;
a(3) = 46, 14444444444444444444444444444444444444444444429;
a(4) = 51, 1444444444444444444444444444444444444444444444444429; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(13*10^# - 139)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 10 2017
STATUS
approved