OFFSET
0,4
COMMENTS
Euler transform of sequence [1,0,2,4,14,40,132,424,1430,...] (C(n-1) if n odd, C(n-1)-C(n/2-1) if n even).
LINKS
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 766
FORMULA
a(n)=(1/n)*Sum_{k=1..n} a(n-k)*b(k), n>0, a(0)=1, b(k)=Sum_{d|k} (-1)^(k/d+1)*binomial(2*d-2, d-1). - Vladeta Jovovic, Jan 17 2002
G.f. A(x)=exp(Sum_{k>0} -(-1)^k* C(x^k)/k) where C(x)=(1-sqrt(1-4x))/2= g.f. A000108 (offset 1).
G.f.: Product_{k>=1} (1+x^k)^(1/k*binomial(2*k-2, k-1)). - Vladeta Jovovic, Jan 17 2002
MAPLE
spec := [S, {C=Sequence(B), B=Prod(C, Z), S=PowerSet(B)}, unlabeled]: seq(combstruct[count](spec, size=n), n=0..20);
MATHEMATICA
ClearAll[a]; b[k_] := Sum[ (-1)^(k/d + 1)*Binomial[2*d - 2, d - 1], {d, Divisors[k]}]; a[0] = 1; a[n_] := a[n] = (1/n)*Sum[a[n - k]*b[k], {k, 1, n}]; Table[a[n], {n, 0, 27}] (* Jean-François Alcover, Oct 08 2012, after Vladeta Jovovic *)
PROG
(PARI) a(n)=local(A); if(n<1, !n, A=sum(k=1, n, (2*k-2)!/k!/(k-1)!*x^k, x*O(x^n)); polcoeff(exp(sum(k=1, n, -(-1)^k*subst(A, x, x^k)/k)), n))
CROSSREFS
KEYWORD
easy,nonn,nice
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
STATUS
approved