OFFSET
1,1
FORMULA
a(n)= A125216(n)/3.
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[3*p-4]&&PrimeQ[3*p+4], AppendTo[lst, p]], {n, 7!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 16 2009 *)
Select[Prime[Range[500]], AllTrue[3#+{4, -4}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Oct 02 2015 *)
PROG
(Magma) [p: p in PrimesUpTo(70000)| IsPrime(3*p-4)and IsPrime(3*p+4)] // Vincenzo Librandi, Jan 29 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 26 2006
STATUS
approved