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 (1,0,-2,1).
FORMULA
G.f.: (1-x)^2/(1-x+2*x^3-x^4).
a(n) = Sum_{k=0..floor(n/2)} A185962(n-k,k).
MATHEMATICA
CoefficientList[Series[(1 - x)^2/(1 - x + 2*x^3 - x^4), {x, 0, 50}], x] (* G. C. Greubel, Jul 23 2017 *)
PROG
(PARI) x='x+O('x^50); Vec((1 - x)^2/(1 - x + 2*x^3 - x^4)) \\ G. C. Greubel, Jul 23 2017
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Barry, Feb 07 2011
EXTENSIONS
More terms from Philippe Deléham, Feb 07 2012
STATUS
approved