Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)
A262139 The first of eight consecutive positive integers the sum of the squares of which is equal to the sum of the squares of nine consecutive positive integers. 2
22, 145, 862, 5041, 29398, 171361, 998782, 5821345, 33929302, 197754481, 1152597598, 6717831121, 39154389142, 228208503745, 1330096633342, 7752371296321, 45184131144598, 263352415571281, 1534930362283102, 8946229758127345, 52142448186480982 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For the first of the corresponding nine consecutive positive integers, see A262140.
LINKS
FORMULA
a(n) = 7*a(n-1)-7*a(n-2)+a(n-3) for n>3.
G.f.: -x*(x^2-9*x+22) / ((x-1)*(x^2-6*x+1)).
a(n) = (-14+3*(3-2*sqrt(2))^(1+n)+3*(3+2*sqrt(2))^(1+n))/4. - Colin Barker, Mar 05 2016
EXAMPLE
22 is in the sequence because 22^2 + ... + 29^2 = 5244 = 20^2 + ... + 28^2.
MATHEMATICA
LinearRecurrence[{7, -7, 1}, {22, 145, 862}, 30] (* Harvey P. Dale, Apr 19 2016 *)
PROG
(PARI) Vec(-x*(x^2-9*x+22)/((x-1)*(x^2-6*x+1)) + O(x^40))
CROSSREFS
Cf. A262140.
Sequence in context: A126490 A200776 A169722 * A159505 A223836 A224144
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Sep 12 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 August 5 19:23 EDT 2024. Contains 374954 sequences. (Running on oeis4.)