OFFSET
1,1
COMMENTS
The first term is A164926(4).
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
MATHEMATICA
lookfor = 4; t = {}; n = 0; While[Length[t] < 50, n++; c = Prime[n]; i = 1; While[PrimeQ[i^2 + i + c], i++]; If[i == lookfor, AppendTo[t, c]]]; t
Select[Prime[Range[10000]], AllTrue[#+{2, 6, 12}, PrimeQ]&&!PrimeQ[#+20]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Mar 26 2015 *)
Select[Prime[Range[10000]], Boole[PrimeQ[#+{2, 6, 12, 20}]]=={1, 1, 1, 0}&] (* Harvey P. Dale, Nov 17 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 05 2012
STATUS
approved