OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
a(n) = n^6 + n^3 + 2n^2 + 2n. - Ralf Stephan, Sep 03 2003
G.f.: -6*x*(10*x^4+49*x^3+53*x^2+7*x+1) / (x-1)^7. - Colin Barker, Dec 21 2012
MATHEMATICA
Table[n^6+n^3+2n^2+2n, {n, 0, 30}] (* or *) LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {0, 6, 84, 780, 4200, 15810, 46956}, 30] (* Harvey P. Dale, Mar 11 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 16 2000
STATUS
approved