OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
EXAMPLE
2009 = 41*49 and 2009 + 2 = 2011 and 2009 - 6 = 2003 are both prime.
MATHEMATICA
Select[41Range[3000], PrimeQ[#+2]&&PrimeQ[#-6]&] (* Harvey P. Dale, Mar 26 2011 *)
PROG
(Magma) [n: n in [0..200000 by 41] | IsPrime(n+2) and IsPrime(n-6)]; // Vincenzo Librandi, Aug 31 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
John L. Drost, Jan 02 2009
EXTENSIONS
Corrected by Harvey P. Dale, Mar 26 2011
STATUS
approved