OFFSET
3,4
LINKS
Eric Weisstein's World of Mathematics, Cycle Complement Graph.
Eric Weisstein's World of Mathematics, Graph Cycle.
Eric Weisstein's World of Mathematics, Wheel Complement Graph.
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = (n - 5)*n*(n^2 - 9*n + 22)/8 for n >= 5.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n >= 5.
G.f.: x^6*(-3+x-2*x^2+x^3)/(-1+x)^5.
MATHEMATICA
Join[{0, 0}, Table[(n - 5) n (n^2 - 9 n + 22)/8, {n, 5, 20}]
Join[{0, 0}, LinearRecurrence[{5, -10, 10, -5, 1}, {0, 3, 14, 42, 99}, 20]]
CoefficientList[Series[x^3 (-3 + x - 2 x^2 + x^3)/(-1 + x)^5, {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Dec 07 2023
EXTENSIONS
Name extended by Eric W. Weisstein, Dec 07 2023
STATUS
approved