OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,3,-3,1).
FORMULA
a(n) = (-1)^n * Sum_{k=0..n} binomial(2*k-1,n-k). - Seiichi Manyama, Aug 13 2024
PROG
(PARI) Vec((1-x)^(-1)/(1+x-2*x^2+x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
(PARI) a(n) = (-1)^n*sum(k=0, n, binomial(2*k-1, n-k)); \\ Seiichi Manyama, Aug 13 2024
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved