OFFSET
1,1
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 3 followed by the digits 01 is prime (see Example section).
a(23) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 3w01.
EXAMPLE
4 is in this sequence because (10^4 - 97)/3 = 3301 is prime.
Initial terms and associated primes:
a(1) = 4, 3301;
a(2) = 5, 33301;
a(3) = 7, 3333301;
a(4) = 13, 3333333333301;
a(5) = 16, 3333333333333301; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(10^# - 97)/3] &]
PROG
(Magma) [n: n in [1..400] |IsPrime((10^n-97) div 3)]; // Vincenzo Librandi, Oct 16 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 15 2017
EXTENSIONS
Example and Link corrected by Robert Price, Nov 22 2017
STATUS
approved