OFFSET
1,2
COMMENTS
For k > 0, numbers k such that the digits 33 followed by k-1 occurrences of the digit 0 followed by the digit 7 is prime (see Example section).
a(35) > 10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 330w7.
EXAMPLE
5 is in this sequence because 33*10^5 + 7 = 3300007 is prime.
Initial terms and associated primes:
a(1) = 1, 337;
a(2) = 2, 3307;
a(3) = 5, 3300007;
a(4) = 6, 33000007;
a(5) = 30, 33000000000000000000000000000007, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[33*10^# + 7] &]
PROG
(PARI) lista(nn) = for(n=1, nn, if(ispseudoprime(33*10^n+7), print1(n, ", "))); \\ Altug Alkan, Jul 21 2016
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Jul 21 2016
STATUS
approved