OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digits 26 followed by k occurrences of the digit 3 is prime (see Example section).
a(23) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 263w.
EXAMPLE
2 is in this sequence because (79*10^2 - 1)/3 = 2633 is prime.
Initial terms and associated primes:
a(1) = 1, 263;
a(2) = 2, 2633;
a(3) = 5, 2633333;
a(4) = 11, 2633333333333;
a(5) = 23, 2633333333333333333333333; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(79*10^# - 1)/3] &]
PROG
(PARI) isok(k) = isprime((79*10^k - 1)/3); \\ Michel Marcus, Nov 12 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 11 2017
EXTENSIONS
a(21)-a(22) from Robert Price, Jan 31 2020
STATUS
approved