OFFSET
1,1
LINKS
Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
Index entries for linear recurrences with constant coefficients, signature (21,-175,735,-1624,1764,-720).
FORMULA
a(n) = 24*6^n-60*5^n+62*4^n-33*3^n+9*2^n-1.
G.f.: -2*x*(360*x^5-882*x^4+713*x^3-304*x^2+58*x-5) / ((x-1)*(2*x-1)*(3*x-1)*(4*x-1)*(5*x-1)*(6*x-1)). - Colin Barker, May 04 2014
MATHEMATICA
Table[24*6^n - 60*5^n + 62*4^n - 33*3^n + 9*2^n - 1, {n, 20}] (* Wesley Ivan Hurt, May 03 2014 *)
LinearRecurrence[{21, -175, 735, -1624, 1764, -720}, {10, 94, 832, 6946, 54880, 412714}, 30] (* Harvey P. Dale, May 05 2018 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Aleksandar M. Janjic and Milan Janjic, Feb 08 2007
STATUS
approved