OFFSET
1,1
COMMENTS
Extended to a(1)-a(2) using the formula/recurrence.
LINKS
Eric Weisstein's World of Mathematics, Gear Graph
Eric Weisstein's World of Mathematics, Graph Path
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = n*(-21 + 58*n - 15*n^2 + 8*n^3)/6.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
G.f.: x*(-5 - 8*x - 2*x^2 - 17*x^3)/(-1 + x)^5.
MATHEMATICA
Table[n (-21 + 58 n - 15 n^2 + 8 n^3)/6, {n, 20}]
LinearRecurrence[{5, -10, 10, -5, 1}, {5, 33, 117, 322, 745}, 20]
CoefficientList[Series[(-5 - 8 x - 2 x^2 - 17 x^3)/(-1 + x)^5, {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Sep 07 2017
STATUS
approved