OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,0,-1,2).
FORMULA
From R. J. Mathar, Nov 09 2009: (Start)
G.f.: (1-x+3*x^3-2*x^2)/((1-2*x)*(1+x)*(x^2-x+1)).
MATHEMATICA
LinearRecurrence[{2, 0, -1, 2}, {1, 1, 0, 2}, 100] (* G. C. Greubel, May 08 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Oct 10 2009
EXTENSIONS
Edited by N. J. A. Sloane, Oct 13 2009
Extended by R. J. Mathar, Nov 09 2009
STATUS
approved