The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A257765 Positive integers whose square is the sum of 26 consecutive squares. 12
195, 1599, 2379, 19695, 163059, 242619, 2008695, 16630419, 24744759, 204867195, 1696139679, 2523722799, 20894445195, 172989616839, 257394980739, 2131028542695, 17643244777899, 26251764312579, 217344016909695, 1799437977728859, 2677422564902319 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Positive integers x in the solutions to 2*x^2-52*y^2-1300*y-11050 = 0.
LINKS
FORMULA
a(n) = 102*a(n-3)-a(n-6).
G.f.: -39*x*(x^5+x^4+5*x^3-61*x^2-41*x-5) / (x^6-102*x^3+1).
EXAMPLE
195 is in the sequence because 195^2 = 38025 = 25^2+26^2+...+50^2.
MATHEMATICA
LinearRecurrence[{0, 0, 102, 0, 0, -1}, {195, 1599, 2379, 19695, 163059, 242619}, 30] (* Vincenzo Librandi, May 11 2015 *)
Select[Sqrt[#]&/@Total/@Partition[Range[10^6]^2, 26, 1], IntegerQ] (* The program generates the first 7 terms of the sequence. *) (* Harvey P. Dale, Mar 10 2024 *)
PROG
(PARI) Vec(-39*x*(x^5+x^4+5*x^3-61*x^2-41*x-5) / (x^6-102*x^3+1) + O(x^100))
(Magma) I:=[195, 1599, 2379, 19695, 163059, 242619 ]; [n le 6 select I[n] else 102*Self(n-3)-Self(n-6): n in [1..30]]; // Vincenzo Librandi, May 11 2015
CROSSREFS
Sequence in context: A225713 A172354 A295130 * A259694 A066232 A284960
KEYWORD
nonn,easy
AUTHOR
Colin Barker, May 07 2015
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 May 13 09:49 EDT 2024. Contains 372504 sequences. (Running on oeis4.)