OFFSET
1,2
COMMENTS
Numbers k such that '3693' appended to k times the digit 7 is prime.
A(n) mod 3 -> {1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, ...?}.
EXAMPLE
4 is a term because 77773693 ('7' concatenated 4 times and prepended to '3693') is prime.
MATHEMATICA
Select[ Range[10^3], PrimeQ[(10^(# + 4) * 7 - 36763)/9] &]
PROG
(Magma) [n: n in[1 .. 1000] | IsPrime((10^(n+4) * 7 - 36763) div 9)];
(PARI) is(n)=isprime((10^(n+4)*7 - 36763)/9)
CROSSREFS
KEYWORD
nonn,base,more,hard
AUTHOR
Mikk Heidemaa, Dec 06 2015
STATUS
approved