OFFSET
0,3
LINKS
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 1044
Index entries for linear recurrences with constant coefficients, signature (1,1,1,0,-1).
FORMULA
G.f.: -(-1+x^3)/(1-x^3-x-x^2+x^5)
Recurrence: {a(1)=1, a(0)=1, a(3)=3, a(2)=2, a(4)=6, a(n)-a(n+2)-a(n+3)-a(n+4)+a(n+5)=0}
Sum(-1/7031*(-1007-901*_alpha^2-1879*_alpha+1187*_alpha^4-95*_alpha^3)*_alpha^(-1-n), _alpha=RootOf(1-_Z^3-_Z-_Z^2+_Z^5))
MAPLE
spec := [S, {S=Sequence(Prod(Union(Sequence(Prod(Z, Z, Z)), Z), Z))}, unlabeled ]: seq(combstruct[count ](spec, size=n), n=0..20);
MATHEMATICA
CoefficientList[Series[(1-x^3)/(1-x-x^2-x^3+x^5), {x, 0, 50}], x] (* or *) LinearRecurrence[{1, 1, 1, 0, -1}, {1, 1, 2, 3, 6}, 50] (* Harvey P. Dale, Sep 18 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
EXTENSIONS
More terms from James A. Sellers, Jun 05 2000
STATUS
approved