OFFSET
0,1
COMMENTS
Conjectured to be the sum of A175046(i) for 1 <= i < 2^(n+1).
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (8,-12).
FORMULA
From Colin Barker, Nov 02 2018: (Start)
G.f.: (3 - 2*x) / ((1 - 2*x)*(1 - 6*x)).
a(n) = 8*a(n-1) - 12*a(n-2) for n>1.
(End)
E.g.f.: -exp(2*x)+4*exp(6*x). - Stefano Spezia, Nov 02 2018
MAPLE
a := n -> 2^n*(4*3^n-1):
seq(a(n), n = 0 .. 25); # Stefano Spezia, Nov 02 2018
MATHEMATICA
a[n_]:=2^n*(4*3^n-1); Array[a, 25, 0] (* or *)
CoefficientList[Series[-E^(2 x) + 4 E^(6 x), {x, 0, 25}], x]*Table[k!, {k, 0, 25}] (* Stefano Spezia, Nov 02 2018 *)
PROG
(PARI) Vec((3 - 2*x) / ((1 - 2*x)*(1 - 6*x)) + O(x^25)) \\ Colin Barker, Nov 02 2018
(PARI) a(n) = 2^n*(4*3^n-1); \\ Michel Marcus, Nov 02 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 01 2018
STATUS
approved