OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
3 is here because 5, 7 and 11 are primes; 5 is here because 7, 11 and 13 are primes.
MATHEMATICA
Select[Prime[Range[500]], PrimeQ[#+8]&&AnyTrue[#+{2, 6}, PrimeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 04 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved