OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
a(n) = n*(2*n^2-5)*(n^2+1)/6. - Vladeta Jovovic, Jun 15 2002
G.f.: -x*(x^4-11*x^3-20*x^2-11*x+1) / (x-1)^6. - Colin Barker, Sep 29 2014
PROG
(PARI) vector(100, n, sum(k=0, n^2, k^2-n^2)/n) \\ Colin Barker, Sep 29 2014
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Robert G. Wilson v, Jun 12 2002
STATUS
approved