cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A132956 The smallest perfect square which is a sum of n consecutive primes.

This page as a plain text file.
%I A132956 #8 Jun 08 2014 08:48:22
%S A132956 36,49,36,961,3600,169,1444,100,138384,11449,2304,9025,484,60025,7056,
%T A132956 35721,8836,85849,25600,6889,40000,961,1156,58081,7056,1369,32400,
%U A132956 426409,60516,1849,7396,15129,77284,5329,19600,3249,39204,96721,32400
%N A132956 The smallest perfect square which is a sum of n consecutive primes.
%C A132956 The smallest of these n consecutive primes is A132955(n).
%H A132956 Alois P. Heinz, <a href="/A132956/b132956.txt">Table of n, a(n) for n = 2..100</a>
%e A132956 a(2)=36, because 2+3=5 is not a perfect square, 3+5=8 is not, 5+7=12 is not, 7+11 is not.. but 17+19=36=6^2 is.
%o A132956 (PARI) a(n) = {ip = 1; while (! issquare(v=sum(i=ip, ip+n-1, prime(i))), ip++); v;} \\ _Michel Marcus_, Jun 08 2014
%Y A132956 Cf. A132955, A132957.
%K A132956 easy,nonn
%O A132956 2,1
%A A132956 _Enoch Haga_, Sep 06 2007
%E A132956 Definition simplified, offset set to 2 by _R. J. Mathar_, Oct 30 2009