login
A134654
a(n) = 2a(n-2)+4a(n-3), n > 3.
5
0, 0, 2, 1, 4, 10, 12, 36, 64, 120, 272, 496, 1024, 2080, 4032, 8256, 16384, 32640, 65792, 130816, 262144, 524800, 1047552, 2098176, 4194304, 8386560, 16781312, 33550336, 67108864, 134225920, 268419072, 536887296, 1073741824, 2147450880
OFFSET
0,3
FORMULA
O.g.f.: -x^2(2+x)/[(2x-1)(2x^2+2x+1)] . a(n) = [2^(n-1)-A108520(n-1)]/2 if n>0. - R. J. Mathar, Jan 29 2008
MATHEMATICA
LinearRecurrence[{0, 2, 4}, {0, 0, 2, 1}, 40] (* or *) CoefficientList[ Series[ -((x^2 (2+x))/(-1+2 x^2+4 x^3)), {x, 0, 40}], x] (* Harvey P. Dale, Jul 02 2021 *)
CROSSREFS
Cf. A038521.
Sequence in context: A205855 A329709 A038521 * A198262 A085421 A001071
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jan 25 2008
EXTENSIONS
More terms from R. J. Mathar, Jan 29 2008
STATUS
approved