OFFSET
1,2
COMMENTS
Numbers k such that the digits 22 followed by k-1 occurrences of the digit 9 followed by the digit 3 is prime (see Example section).
a(40) > 3*10^5.
LINKS
Makoto Kamada, Search for 229w3.
EXAMPLE
3 is in this sequence because 23*10^3-7 = 22993 is prime.
Initial terms and associated primes:
a(1) = 1, 223;
a(2) = 2, 2293;
a(3) = 3, 22993;
a(4) = 6, 22999993;
a(5) = 8, 2299999993, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[23*10^# - 7] &] (* Corrected by Georg Fischer, Jul 22 2019 *)
PROG
(PARI) lista(nn) = {for(n=1, nn, if(ispseudoprime(23*10^n - 7), print1(n, ", "))); } \\ Altug Alkan, Mar 22 2016
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Mar 22 2016
EXTENSIONS
a(34)-a(36) from Robert Price, Feb 25 2020
a(37)-a(39) from Robert Price, May 31 2023
STATUS
approved