OFFSET
0,4
COMMENTS
Based on A129819 (the first with 0 0).
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,-1,0,2,1,-1).
FORMULA
G.f.: (-x*(1 - 2*x + x^2 - x^3))/(1 - x + x^2 - x^3)^2. - Georg Fischer, May 05 2021
MAPLE
seq(coeff(series( (-x*(1 - 2*x + x^2 - x^3))/(1 - x + x^2 - x^3)^2, x, n+1), x, n), n = 0..40); # Georg Fischer, May 05 2021
MATHEMATICA
Flatten[Table[{n, -1, n, 2n+2}, {n, 0, 30}]] (* Harvey P. Dale, Nov 15 2011 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Aug 13 2007
STATUS
approved