OFFSET
1,2
COMMENTS
For k > 0, numbers k such that the digits 22 followed by k-1 occurrences of the digit 0 followed by the digit 3 is prime (see Example section).
a(24) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 220w3.
EXAMPLE
2 is in this sequence because 22*10^2 + 3 = 2203 is prime.
Initial terms and associated primes:
a(1) = 1, 223;
a(2) = 2, 2203;
a(3) = 3, 22003;
a(4) = 6, 22000003;
a(5) = 15, 22000000000000003; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[22*10^# + 3] &]
PROG
(PARI) isok(k) = isprime(22*10^k + 3); \\ Altug Alkan, Oct 11 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 11 2017
EXTENSIONS
a(22)-a(23) from Robert Price, Jan 04 2020
STATUS
approved