OFFSET
1,1
COMMENTS
For the first of the corresponding five consecutive positive integers, see A262018.
LINKS
Colin Barker, Table of n, a(n) for n = 1..444
Index entries for linear recurrences with constant coefficients, signature (179,-179,1).
FORMULA
a(n) = 179*a(n-1)-179*a(n-2)+a(n-3) for n>3.
G.f.: 5*x*(5*x^2-178*x-3) / ((x-1)*(x^2-178*x+1)).
EXAMPLE
15 is in the sequence because 15^2 + ... + 25^2 = 4510 = 28^2 + ... + 32^2.
PROG
(PARI) Vec(5*x*(5*x^2-178*x-3)/((x-1)*(x^2-178*x+1)) + O(x^20))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Sep 08 2015
STATUS
approved