OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Seq(d, n) = if(n prime & n+2 prime and n+d prime and n+d+2 prime) output n.
EXAMPLE
Seq(12,20) = 5 17 29 59. 5+2 = prime, 5+12 = prime, 5+14 = prime, 17+2 = prime 17+12 = prime, 17+14 = prime.
MATHEMATICA
Select[Range[2*10^4], And @@ PrimeQ[# + {0, 2, 12, 14}] &] (* Amiram Eldar, Dec 26 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Feb 08 2003
EXTENSIONS
Offset corrected by Amiram Eldar, Dec 26 2019
STATUS
approved