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.: (6-23*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 + 11), {n, 0, 30}] (* Vincenzo Librandi, Apr 24 2015 *)
LinearRecurrence[{6, -8}, {6, 13}, 40] (* Harvey P. Dale, Jan 29 2022 *)
PROG
(PARI) A256871(n)=2^(n-1)*(2^n+11)
(Magma) [2^(n-1)*(2^n+11): n in [0..30]]; // Vincenzo Librandi, Apr 24 2015
(PARI) Vec((6-23*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