OFFSET
0,2
COMMENTS
Second binomial transform of A093380.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (10,-35,50,-24).
FORMULA
a(n) = 4/3 - 5*2^n + 2*3^n + 8*4^n/3;
a(n) = 10*a(n-1) - 35*a(n-2) + 50*a(n-3) - 24*a(n-4), n > 3. - Harvey P. Dale, May 29 2013
MATHEMATICA
CoefficientList[Series[(1-2x-3x^2-4x^3)/((1-x)(1-2x)(1-3x)(1-4x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{10, -35, 50, -24}, {1, 8, 42, 186}, 30] (* Harvey P. Dale, May 29 2013 *)
PROG
(Magma) [4/3-5*2^n+2*3^n+8*4^n/3: n in [0..30]]; // Vincenzo Librandi, May 31 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 28 2004
STATUS
approved