OFFSET
1,2
COMMENTS
For k>1, numbers k such that the digit 9 followed by k-2 occurrences of the digit 0 followed by the digits 23 is prime (see Example section).
a(22) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 90w23.
EXAMPLE
4 is in this sequence because 9*10^4 + 23 = 90023 is prime.
Initial terms and associated primes:
a(1) = 1, 113;
a(2) = 4, 90023;
a(3) = 10, 90000000023;
a(4) = 16, 90000000000000023;
a(5) = 22, 90000000000000000000023; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[9*10^# + 23] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 05 2017
STATUS
approved