OFFSET
0,2
COMMENTS
Binomial transform of A047926.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (8,-20,16).
FORMULA
G.f.: (1 - 4*x + 3*x^2)/((1-2*x)^2*(1-4*x)).
E.g.f.: (3*exp(4*x) + (1+2*x)*exp(2*x))/4.
a(n) = 8*a(n-1) - 20*a(n-2) + 16*a(n-3); a(0)=1, a(1)=4, a(2)=15. - Harvey P. Dale, May 20 2011
MATHEMATICA
LinearRecurrence[{8, -20, 16}, {1, 4, 15}, 30] (* or *) CoefficientList[ Series[ (1-4x+3x^2)/((1-2x)^2(1-4x)), {x, 0, 30}], x] (* Harvey P. Dale, May 20 2011 *)
PROG
(Magma) [3*2^(2*(n-1))+2^(n-2)*(n+1): n in [0..25]]; // Vincenzo Librandi, May 21 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Sep 03 2003
STATUS
approved