login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132956 The smallest perfect square which is a sum of n consecutive primes. 4
36, 49, 36, 961, 3600, 169, 1444, 100, 138384, 11449, 2304, 9025, 484, 60025, 7056, 35721, 8836, 85849, 25600, 6889, 40000, 961, 1156, 58081, 7056, 1369, 32400, 426409, 60516, 1849, 7396, 15129, 77284, 5329, 19600, 3249, 39204, 96721, 32400 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
The smallest of these n consecutive primes is A132955(n).
LINKS
EXAMPLE
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.
PROG
(PARI) a(n) = {ip = 1; while (! issquare(v=sum(i=ip, ip+n-1, prime(i))), ip++); v; } \\ Michel Marcus, Jun 08 2014
CROSSREFS
Sequence in context: A033701 A349869 A260920 * A260015 A163244 A260008
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Sep 06 2007
EXTENSIONS
Definition simplified, offset set to 2 by R. J. Mathar, Oct 30 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 13 01:46 EDT 2024. Contains 371639 sequences. (Running on oeis4.)