PROG
(MAGMAMagma) [ t: n in [1..28000] | IsSquare(8*t+1) where t is &+[NthPrime(n+s): s in [0..4]] ]; // Bruno Berselli, Apr 28 2011
(MAGMAMagma) [ t: n in [1..28000] | IsSquare(8*t+1) where t is &+[NthPrime(n+s): s in [0..4]] ]; // Bruno Berselli, Apr 28 2011
editing
approved
Select[Total/@Partition[Prime[Range[50000]], 5, 1], OddQ[Sqrt[1+8#]]&] (* Harvey P. Dale, Feb 08 2020 *)
approved
editing
proposed
approved
editing
proposed
editing
proposed
Chai Wah Wu, <a href="/A173421/b173421.txt">Table of n, a(n) for n = 1..10000</a>
approved
editing
_Vladimir Joseph Stephan Orlovsky (4vladimir(AT)gmail.com), _, Feb 18 2010
proposed
approved