OFFSET
0,5
COMMENTS
First column of number triangle A105810.
LINKS
FORMULA
a(n) = -0^n-(-1)^n*(n-2).
E.g.f.: exp(-x)*(2 + x) - 1. - Stefano Spezia, Dec 29 2024
MATHEMATICA
CoefficientList[Series[(1+x-x^2)/(1+x)^2, {x, 0, 70}], x] (* or *) LinearRecurrence[ {-2, -1}, {1, -1, 0}, 70] (* Harvey P. Dale, Jun 16 2016 *)
PROG
(PARI) a(n)=-0^n-(-1)^n*(n-2) \\ Charles R Greathouse IV, Sep 02 2015
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Paul Barry, May 04 2005
STATUS
approved