OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
Index entries for linear recurrences with constant coefficients, signature (28,-322,1960,-6769,13132,-13068,5040).
FORMULA
a(n) = 12*7^n-36*6^n+55*5^n-50*4^n+27*3^n-8*2^n+1.
G.f.: -x*(5040*x^6 -11988*x^5 +11944*x^4 -5479*x^3 +1367*x^2 -173*x+9) / ((x -1)*(2*x -1)*(3*x -1)*(4*x -1)*(5*x -1)*(6*x -1)*(7*x -1)). - Colin Barker, Feb 22 2015
MAPLE
f:=n->12*7^n-36*6^n+55*5^n-50*4^n+27*3^n-8*2^n+1;
PROG
(PARI) Vec(-x*(5040*x^6 -11988*x^5 +11944*x^4 -5479*x^3 +1367*x^2 -173*x+9) / ((x -1)*(2*x -1)*(3*x -1)*(4*x -1)*(5*x -1)*(6*x -1)*(7*x -1)) + O(x^100)) \\ Colin Barker, Feb 22 2015
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Aleksandar M. Janjic and Milan Janjic, Feb 04 2007
STATUS
approved