OFFSET
0,3
COMMENTS
First and third differences have only 2^n's.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, -4).
FORMULA
From R. J. Mathar, May 09 2008: (Start)
O.g.f.: x*(1+x)*(2*x+1)/((1-2*x+2*x^2)*(1+2*x+2*x^2)).
MATHEMATICA
LinearRecurrence[{0, 0, 0, -4}, {0, 1, 3, 2}, 60] (* Harvey P. Dale, Mar 19 2012 *)
PROG
(PARI) x='x+O('x^25); Vec(x*(1+x)*(2*x+1)/((1-2*x+2*x^2)*(1+2*x+2*x^2))) \\ G. C. Greubel, Feb 20 2017
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, May 08 2008
STATUS
approved