OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Black Bishop Graph
Eric Weisstein's World of Mathematics, Wiener Index
Index entries for linear recurrences with constant coefficients, signature (2,2,-6,0,6,-2,-2,1).
FORMULA
a(n) = (3 - 10*n + 6*n^2 - 8*n^3 + 6*n^4 - 3*(-1)^n*(1 - 2*n + 2*n^2))/24.
a(n) = 2*a(n-1) + 2*a(n-2) - 6*a(n-3) + 6*a(n-5) - 2*a(n-6) - 2*a(n-7) + a(n-8).
G.f.: x^2*(-1 - 12*x - 12*x^2 - 18*x^3 - 3*x^4 - 2*x^5)/((-1 + x)^5*(1 + x)^3).
MATHEMATICA
Table[(3 - 10 n + 6 n^2 - 8 n^3 + 6 n^4 - 3 (-1)^n (1 - 2 n + 2 n^2))/24, {n, 20}]
LinearRecurrence[{2, 2, -6, 0, 6, -2, -2, 1}, {0, 1, 14, 42, 124, 251, 506, 852}, 20]
CoefficientList[Series[x (-1 - 12 x - 12 x^2 - 18 x^3 - 3 x^4 - 2 x^5)/((-1 + x)^5 (1 + x)^3), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Sep 08 2017
STATUS
approved