OFFSET
0,3
LINKS
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
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jan 25 2008
EXTENSIONS
More terms from R. J. Mathar, Jan 29 2008
STATUS
approved