OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..2000
EXAMPLE
181+191+193+197+199=31^2, 317+331+337+347+349=41^2, 3733+3739+3761+3767+3769=137^2,...
MATHEMATICA
a = {}; For[n = 1, n < 10^4, n++, p1 = Prime[n]; p2 = Prime[n + 1]; p3 = Prime[n + 2]; p4 = Prime[n + 3]; p5 = Prime[n + 4]; p = (p1 + p2 + p3 + p4 + p5)^(1/2); If[PrimeQ[p], AppendTo[a, p]]]; a
Sqrt[# ]&/@Select[Total/@Partition[Prime[Range[500000]], 5, 1], PrimeQ[ Sqrt[#]]&] (* Harvey P. Dale, Nov 12 2011 *)
Select[Sqrt[Total/@Partition[Prime[Range[500000]], 5, 1]], PrimeQ] (* Zak Seidov, Feb 08 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jun 26 2008
EXTENSIONS
More terms from Harvey P. Dale, Nov 12 2011
STATUS
approved