OFFSET
0,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6, -8).
FORMULA
a(n) = 2*4^(n+5)-37*2^(n+2) for n > 0.
G.f.: (837+2874*x-8504*x^2) / ((1-2*x)*(1-4*x)).
G.f. for the sequence starting at a(1): 8*x*(987-1900*x) / ((1-2*x)*(1-4*x)).
MATHEMATICA
CoefficientList[Series[(837 + 2874 x - 8504 x^2)/((1 - 2 x) (1 - 4 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Sep 24 2013 *)
PROG
(PARI) {m=19; v=concat([837, 7896, 32176], vector(m-3)); for(n=4, m, v[n]=6*v[n-1]-8*v[n-2]); v}
(Magma) [837] cat [2*4^(n+5)-37*2^(n+2): n in [1..25]]; // Vincenzo Librandi, Sep 24 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, May 14 2010
STATUS
approved