OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Black Bishop Graph.
Eric Weisstein's World of Mathematics, Cube Polynomial.
Index entries for linear recurrences with constant coefficients, signature (3,-1,-5,5,1,-3,1).
FORMULA
a(n) = (n + 1)*(3 - 3*(-1)^n + n*(n + 1)*(n + 2))/24.
a(n) = 3*a(n-1)-a(n-2)-5*a(n-3)+5*a(n-4)+a(n-5)-3*a(n-6)+a(n-7).
G.f.: x*(-1-3*x^2)/((-1+x)^5*(1+x)^2).
MATHEMATICA
Table[(n + 1) (3 - 3 (-1)^n + n (n + 1) (n + 2))/24, {n, 20}]
LinearRecurrence[{3, -1, -5, 5, 1, -3, 1}, {1, 3, 11, 25, 54, 98, 170}, 20]
CoefficientList[Series[(-1 - 3 x^2)/((-1 + x)^5 (1 + x)^2), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Mar 14 2026
STATUS
approved
