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!)
A130052 Numbers that are the sum of one or more consecutive squares in more than one way. 8
25, 365, 841, 1405, 1730, 2030, 3281, 3655, 3740, 4510, 4705, 4760, 4900, 5244, 5434, 5915, 5929, 7230, 7574, 8415, 8464, 9385, 11055, 11236, 11900, 12325, 12524, 14905, 16745, 17484, 18879, 19005, 19044, 19855, 20449, 20510, 21790, 22806, 23681 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Paul Richards and David W. Wilson, Table of n, a(n) for n = 1..10000 (first 135 terms from Paul Richards)
EXAMPLE
25 = 3^2 + 4^2 = 5^2.
365 = 10^2 + 11^2 + 12^2 = 13^2 + 14^2.
PROG
(PARI) ok(n) = {my(i=sqrtint(n), m=0); while(i>0&&m<2, my(a=i^2, j=i); while(j>0&&a<=n, if(a==n, m+=1); j-=1; a=a+j^2); i-=1); return(m>1)}
{for(p=1, 24000, if(ok(p), print1(p, ", ")))} \\ Antonio Roldán, Mar 09 2020
CROSSREFS
Cf. A059255 (subsequence).
Sequence in context: A197678 A197536 A045622 * A059255 A227024 A254376
KEYWORD
nonn
AUTHOR
Paul Richards, May 03 2007
EXTENSIONS
Extended by Ray Chandler, May 04 2007
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 March 29 11:14 EDT 2024. Contains 371278 sequences. (Running on oeis4.)