OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
S. G. Williamson, The combinatorial analysis of patterns and the principle of inclusion-exclusion, Discrete Math. 1 (1972), no. 4, 357--388. MR0299493 (45 #8541).
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
a(n) = (n^8 - 8*n^7 + 36*n^6 - 92*n^5 + 155*n^4 - 148*n^3 + 88*n^2 - 16*n)/16.
G.f.: x*(1+x)*(1+3*x+57*x^2+262*x^3+582*x^4+321*x^5+34*x^6)/(1-x)^9. - Colin Barker, Apr 17 2012
MAPLE
A210766 := proc(n)
(n^8-8*n^7+36*n^6-92*n^5+155*n^4-148*n^3 +88*n^2-16*n)/16 ;
end proc: # R. J. Mathar, Mar 27 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 25 2012
EXTENSIONS
a(21) onward from Andrew Howroyd, Nov 09 2025
STATUS
approved
