OFFSET
1,1
COMMENTS
EXAMPLE
72 is a member because p(72)=359, q=(p-1)/2=179 and r=(q-1)2=89 are primes.
MATHEMATICA
se2=Select[(Select[(Prime[Range[20000]]-1)/2, PrimeQ]-1)/2, PrimeQ]; Map[PrimePi, Map[2(2*#+1)+1&, se2]]
dspQ[n_]:=Module[{q=(n-1)/2}, AllTrue[{q, (q-1)/2}, PrimeQ]]; Position[ Prime[ Range[5000]], _?(dspQ[#]&)]//Flatten (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Apr 23 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 04 2002
STATUS
approved