OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[5000]], PrimeQ[3 # + 2] && PrimeQ[5 # + 4] && PrimeQ[7 # + 6] &] (* Vincenzo Librandi, Apr 10 2013 *)
Select[Prime[Range[5000]], AllTrue[{3#+2, 5#+4, 7#+6}, PrimeQ]&] (* Harvey P. Dale, Jul 14 2022 *)
PROG
(Magma) [p: p in PrimesUpTo(100000) | IsPrime(p) and IsPrime(3*p+2) and IsPrime(5*p+4) and IsPrime(7*p+6)];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 07 2010
STATUS
approved