OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 4 followed by k-2 occurrences of the digit 3 followed by the digits 49 is prime (see Example section).
a(30) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 43w49.
EXAMPLE
3 is in this sequence because (13*10^3 + 47) / 3 = 4349 is prime.
Initial terms and associated primes:
a(1) = 1, 59;
a(2) = 2, 449;
a(3) = 3, 4349;
a(4) = 9, 4333333349;
a(5) = 10, 43333333349; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(13*10^# + 47) / 3] &]
PROG
(PARI) is(n)=ispseudoprime((13*10^n + 47)/3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jan 05 2017
EXTENSIONS
a(29) from Robert Price, Oct 14 2018
STATUS
approved