OFFSET
1,2
COMMENTS
Numbers k such that the digits 28 followed by k occurrences of the digit 3 is prime (see Example section).
a(29) > 3*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 283w.
EXAMPLE
2 is in this sequence because (85*10^2 - 1)/3 = 2833 is prime.
Initial terms and associated primes:
a(1) = 1, 283;
a(2) = 2, 2833;
a(3) = 5, 2833333;
a(4) = 9, 28333333333;
a(5) = 64, 283333333333333333333333333333333333333333333333333333333333333333; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(85*10^# - 1)/3] &]
PROG
(PARI) isok(k) = isprime((85*10^k - 1)/3); \\ Michel Marcus, Jul 16 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jul 15 2017
EXTENSIONS
a(25)-a(27) from Robert Price, Feb 03 2020
a(28) from Robert Price, Jul 02 2023
STATUS
approved