OFFSET
0,13
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (0,-1,0,0,-1)
MAPLE
f:= gfun:-rectoproc({a(n+5)=-a(n)-a(n+3), a(0)=1,
seq(a(i)=0, i=1..4)}, a(n), remember):
map(f, [$1..100]); # Robert Israel, Jul 18 2016
MATHEMATICA
CoefficientList[Series[(1+x^2)/(1+x^2+x^5), {x, 0, 80}], x] (* or *) LinearRecurrence[ {0, -1, 0, 0, -1}, {1, 0, 0, 0, 0}, 80] (* Harvey P. Dale, Jan 08 2023 *)
PROG
(PARI) Vec((1+x^2)/(1+x^2+x^5)+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 02 2003
STATUS
approved