OFFSET
0,1
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.: (3-11*x)/((1-4*x)*(1-2*x)). - Vincenzo Librandi, Apr 24 2015
a(n) = 6*a(n-1)-8*a(n-2). - Colin Barker, Apr 26 2015
MATHEMATICA
Table[2^(n - 1) (2^n + 5), {n, 0, 30}] (* Vincenzo Librandi, Apr 24 2015 *)
LinearRecurrence[{6, -8}, {3, 7}, 30] (* Harvey P. Dale, Aug 21 2020 *)
PROG
(PARI) A256873(n)=2^(n-1)*(2^n+5)
(Magma) [2^(n-1)*(2^n+5): n in [0..30]]; // Vincenzo Librandi, Apr 24 2015
(PARI) Vec((3-11*x)/((1-4*x)*(1-2*x)) + O(x^100)) \\ Colin Barker, Apr 26 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Apr 24 2015
STATUS
approved