OFFSET
0,1
COMMENTS
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,-8).
FORMULA
G.f.: (2-7*x)/((1-4*x)*(1-2*x)). - Vincenzo Librandi, Apr 27 2015
a(n) = 6*a(n-1)-8*a(n-2). - Colin Barker, Apr 27 2015
MATHEMATICA
Table[2^(n - 1) (2^n + 3), {n, 0, 30}] (* Bruno Berselli, Apr 27 2015 *)
CoefficientList[Series[(2 - 7 x)/((1 - 4 x) (1 - 2 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Apr 27 2015 *)
PROG
(PARI) a(n)=2^(n-1)*(2^n+3)
(Magma) [2^(n-1)*(2^n+3): n in [0..35]]; // Vincenzo Librandi, Apr 27 2015
(PARI) Vec((2-7*x)/((1-4*x)*(1-2*x)) + O(x^100)) \\ Colin Barker, Apr 27 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Apr 27 2015
STATUS
approved