OFFSET
1,1
COMMENTS
For the first of the corresponding twenty-one consecutive positive integers, see A261996.
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,0,110,-110,0,0,-1,1).
FORMULA
G.f.: -3*x*(6*x^8+8*x^6+27*x^5-596*x^4+504*x^3+64*x^2+27*x+14) / ((x-1)*(x^8-110*x^4+1)).
EXAMPLE
42 is in the sequence because 42^2 + ... + 45^2 = 7574 = 8^2 + ... + 28^2.
PROG
(PARI) Vec(-3*x*(6*x^8+8*x^6+27*x^5-596*x^4+504*x^3+64*x^2+27*x+14)/((x-1)*(x^8-110*x^4+1)) + O(x^40))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Sep 08 2015
STATUS
approved