OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..500
MATHEMATICA
qr[p_]:=Module[{q=2p^2-1, r}, r=2p*q-1; {q, r, 2p*r-1}]; Select[Prime[ Range[ 120000]], AllTrue[qr[#], PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Apr 10 2015 *)
PROG
(PARI) forprime(p=1, 2e6, isprime(q=2*p^2-1)&&isprime(r=2*p*q-1)&&isprime(2*p*r-1)&&print1(p", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 22 2013
STATUS
approved