OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
MATHEMATICA
pnpQ[n_]:=Module[{c=Table[(n+j)^2+j, {j, 6}]}, NoneTrue[Most[c], PrimeQ] &&PrimeQ[Last[c]]]; Select[Prime[Range[1500]], pnpQ] (* This program uses the function NoneTrue from Mathematica version 10 *) (* Harvey P. Dale, Jul 26 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 02 2014
STATUS
approved