OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 3 followed by the digits 81 is prime (see Example section).
a(33) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 23w81.
EXAMPLE
3 is in this sequence because (7*10^3 + 143)/3 = 2381 is prime.
Initial terms and associated primes:
a(1) = 1, 71;
a(2) = 2, 281;
a(3) = 3, 2381;
a(4) = 6, 2333381;
a(5) = 7, 23333381, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(7*10^# + 143)/3] &]
PROG
(PARI) is(n)=ispseudoprime((7*10^n+143)/3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Apr 10 2016
EXTENSIONS
a(31)-a(32) from Robert Price, Mar 30 2018
STATUS
approved