OFFSET
1,3
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 2 followed by the digits 81 is prime (see Example section).
a(32) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 2w81.
EXAMPLE
3 is in this sequence because (2*10^3 + 529)/9 = 281 is prime.
Initial terms and associated primes:
a(1) = 0, 59;
a(2) = 1, 61;
a(3) = 3, 281;
a(4) = 4, 2281;
a(5) = 7, 2222281; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(2*10^# + 529)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jan 28 2017
EXTENSIONS
a(29)-a(31) from Robert Price, Jan 02 2018
STATUS
approved