OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 8 followed by k-2 occurrences of the digit 3 followed by the digits 29 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 83w29.
EXAMPLE
3 is in this sequence because (25*10^3 - 13) / 3 = 8329 is prime.
Initial terms and associated primes:
a(1) = 1, 79;
a(2) = 2, 829;
a(3) = 3, 8329;
a(4) = 6, 8333329;
a(5) = 8, 833333329; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(25*10^# - 13) / 3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jan 15 2017
EXTENSIONS
a(25)-a(26) from Robert Price, Sep 23 2019
STATUS
approved