editing
approved
editing
approved
Select[#[[1]]+#[[2]]+#[[5]]&/@Partition[Prime[Range[200]], 5, 1], PrimeQ] (* Harvey P. Dale, Jul 27 2017 *)
approved
editing
editing
approved
Select[p = Prime@ Range@ 108; p[[#]] + p[[#+1]] + p[[#+4]] & /@ Range@ 104, PrimeQ@# &] - _(* _Robert G. Wilson v_, Mar 01 2007 *)
reviewed
editing
proposed
reviewed
editing
proposed
Select[p = Prime(AT) @ Range(AT) @ 108; p[[ # ]] + p[[ # + 1]] + p[[ # + 4]] & /(AT) @ Range(AT) @ 104, PrimeQ(AT)@# &] - Robert G. Wilson v, Mar 01 2007
Typos in first Mma program corrected by Giovanni Resta, Jun 12 2016
approved
editing
proposed
approved
editing
proposed
Vincenzo Librandi, <a href="/A097997/b097997.txt">Table of n, a(n) for n = 1..1000</a>
Select[Table[(Prime[n]+Prime[n+1]+Prime[n+4]), {n, 700}], PrimeQ[#]&] (* Vincenzo Librandi, Jul 17 2012 *)
nonn,easy
approved
editing