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!)
A262074 The first of seven consecutive positive integers the sum of the squares of which is equal to the sum of the squares of eight consecutive positive integers. 4
113, 3473, 104161, 3121441, 93539153, 2803053233, 83998057921, 2517138684481, 75430162476593, 2260387735613393, 67736201905925281, 2029825669442145121, 60827033881358428433, 1822781190771310707953, 54622608689257962810241, 1636855479486967573599361 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For the first of the corresponding eight consecutive positive integers, see A262075.
LINKS
FORMULA
a(n) = 31*a(n-1)-31*a(n-2)+a(n-3) for n>3.
G.f.: -x*(x^2-30*x+113) / ((x-1)*(x^2-30*x+1)).
EXAMPLE
113 is in the sequence because 113^2 + ... + 119^2 (7 terms) = 94220 = 105^2 + ... + 112^2 (8 terms).
MATHEMATICA
LinearRecurrence[{31, -31, 1}, {113, 3473, 104161}, 20] (* Vincenzo Librandi, Sep 11 2015 *)
PROG
(PARI) Vec(-x*(x^2-30*x+113)/((x-1)*(x^2-30*x+1)) + O(x^20))
(Magma) I:=[113, 3473, 104161]; [n le 3 select I[n] else 31*Self(n-1)-31*Self(n-2)+Self(n-3): n in [1..20]]; // Vincenzo Librandi, Sep 11 2015
CROSSREFS
Sequence in context: A187519 A301529 A008362 * A200854 A012031 A283781
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Sep 10 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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)