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+15 = 37 are all prime.
MATHEMATICA
Select[Prime[Range[5000]], PrimeQ[2 # + 1] && PrimeQ[2 # + 15] &] (* Vincenzo Librandi, Feb 15 2014 *)
PROG
(PARI) s=[]; forprime(p=2, 10000, if(isprime(2*p+1) && isprime(2*p+15), s=concat(s, p))); s
(Magma) [p: p in PrimesUpTo(4000) | IsPrime(2*p+1) and IsPrime(2*p+15)]; // Vincenzo Librandi, Feb 15 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Feb 13 2014
STATUS
approved