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