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!)
A261934 The first of ten consecutive positive integers the sum of the squares of which is equal to the sum of the squares of two consecutive positive integers. 4
7, 17, 26, 52, 205, 383, 544, 1010, 3755, 6949, 9838, 18200, 67457, 124771, 176612, 326662, 1210543, 2239001, 3169250, 5861788, 21722389, 40177319, 56869960, 105185594, 389792531, 720952813, 1020490102, 1887478976, 6994543241, 12936973387, 18311951948 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For the first of the corresponding two consecutive positive integers, see A261932.
LINKS
FORMULA
G.f.: x*(2*x^8+2*x^7+x^6+2*x^5-27*x^4-26*x^3-9*x^2-10*x-7) / ((x-1)*(x^4-4*x^2-1)*(x^4+4*x^2-1)).
EXAMPLE
7 is in the sequence because 7^2 + 8^2 + ... + 16^2 = 26^2 + 27^2.
MATHEMATICA
LinearRecurrence[{1, 0, 0, 18, -18, 0, 0, -1, 1}, {7, 17, 26, 52, 205, 383, 544, 1010, 3755}, 40] (* Harvey P. Dale, Mar 29 2018 *)
PROG
(PARI) Vec(x*(2*x^8+2*x^7+x^6+2*x^5-27*x^4-26*x^3-9*x^2-10*x-7)/((x-1)*(x^4-4*x^2-1)*(x^4+4*x^2-1)) + O(x^40))
CROSSREFS
Sequence in context: A300186 A355680 A354672 * A253075 A011537 A283610
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Sep 06 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 April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)