OFFSET
1,2
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 3 followed by the digits 49 is prime (see Example section). - Robert Price, Nov 10 2017
a(25) > 3*10^5. - Robert Price, Oct 26 2023
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 3w49.
EXAMPLE
3 is in this sequence because (10^3 + 47)/3 = 349 is prime.
Initial terms and associated primes:
a(1) = 1, 19;
a(2) = 3, 349;
a(3) = 5, 33349;
a(4) = 6, 333349;
a(5) = 9, 333333349; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(10^# + 47)/3] &]
PROG
(Magma) [n: n in [0..500] |IsPrime((10^n+47) div 3)];
(PARI) is(n) = ispseudoprime((10^n + 47) / 3); \\ Altug Alkan, Sep 26 2016
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Vincenzo Librandi, Sep 26 2016
EXTENSIONS
a(18)-a(24) from Robert Price, Nov 10 2017
STATUS
approved