OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
11 is in the sequence because 11, 2*11+1 = 23 and 2*11+7 = 29 are all prime.
MATHEMATICA
Select[Prime[Range[10000]], PrimeQ[2 # + 1]&&PrimeQ[2 # + 7]&] (* Vincenzo Librandi, Feb 15 2014 *)
PROG
(PARI) s=[]; forprime(p=2, 10000, if(isprime(2*p+1) && isprime(2*p+7), s=concat(s, p))); s
(Magma) [p: p in PrimesUpTo(9200) | IsPrime(2*p+1) and IsPrime(2*p+7)]; // Vincenzo Librandi, Feb 15 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Feb 13 2014
STATUS
approved