OFFSET
1,1
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 3 followed by the digits 07 is prime (see Example section).
a(22) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 3w07.
EXAMPLE
3 is in this sequence because (10^3 - 79)/3 = 307 is prime.
Initial terms and associated primes:
a(1) = 2, 7;
a(2) = 3, 307;
a(3) = 4, 3307;
a(4) = 7, 3333307;
a(5) = 9, 333333307; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(10^# - 79)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 17 2017
EXTENSIONS
a(21) from Robert Price, Jan 09 2018
STATUS
approved