OFFSET
0,1
LINKS
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 582
FORMULA
E.g.f.: -(-2+x+2*x^2)/(-1+2*x^2)/(-1+x).
D-finite Recurrence: {a(1)=1, a(2)=6, a(0)=2, (12+2*n^3+12*n^2+22*n)*a(n) +(-2*n^2-10*n-12)*a(n+1) +(-n-3)*a(n+2) +a(n+3)=0}
(1+Sum(1/2*_alpha^(-n), _alpha=RootOf(-1+2*_Z^2)))*n!
n!*[2^(n/2)+1] if n is even, n! otherwise.
a(n) = n!*A052552(n). - R. J. Mathar, Jun 03 2022
MAPLE
spec := [S, {S=Union(Sequence(Prod(Z, Union(Z, Z))), Sequence(Z))}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);
MATHEMATICA
With[{nn=20}, CoefficientList[Series[(2-x-2x^2)/((1-x)(1-2x^2)), {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, Sep 16 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
STATUS
approved