OFFSET
1,4
LINKS
Vaclav Kotesovec, Non-attacking chess pieces, 6ed, 2013, p. 163.
Index entries for linear recurrences with constant coefficients, signature (7, -21, 35, -35, 21, -7, 1).
FORMULA
a(n) = 1/6*n*(n^5 - 27*n^3 + 18*n^2 + 194*n - 228), n>=4.
G.f.: -x^4*(15*x^6 - 89*x^5 + 196*x^4 - 140*x^3 - 119*x^2 + 169*x + 88)/(x-1)^7.
MATHEMATICA
CoefficientList[Series[-x^3*(15*x^6 - 89*x^5 + 196*x^4 - 140*x^3 - 119*x^2 + 169*x + 88)/(x - 1)^7, {x, 0, 30}], x] (* Wesley Ivan Hurt, Dec 27 2023 *)
PROG
(PARI) a(n)=if(n>3, n*(n^5-27*n^3+18*n^2+194*n-228)/6, 0) \\ Charles R Greathouse IV, May 28 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vaclav Kotesovec, Aug 31 2011
STATUS
approved
