%I #20 Sep 03 2016 13:29:10
%S 0,1,3,7,25,106,434,2045,10707,57781,338195,2115664,13796952,95394573,
%T 692462671,5235101739,41436754261,341177640610,2915100624274,
%U 25866987547865,237448494222575,2252995117706961,22078799199129799,222971522853648704,2319210969809731600
%N Number of partitions of an n-set with odd number of even blocks.
%H Alois P. Heinz, <a href="/A096648/b096648.txt">Table of n, a(n) for n = 1..500</a>
%F E.g.f.: exp(sinh(x))*sinh(cosh(x)-1).
%F a(2*n) = A024429(2*n) and a(2*n+1) = A024430(2*n+1). - _Jonathan Vos Post_, Oct 19 2005
%F a(n) = sum{k=0..n, if(mod(n-k,2)=1, A048993(n,k), 0)}. - _Paul Barry_, May 19 2006
%p with(combinat):
%p b:= proc(n, i, t) option remember; `if`(n=0, t, `if`(i<1,
%p 0, add(multinomial(n, n-i*j, i$j)/j!*b(n-i*j, i-1,
%p irem(t+`if`(irem(i, 2)=0, j, 0), 2)), j=0..n/i)))
%p end:
%p a:= n-> b(n$2, 0):
%p seq(a(n), n=1..30); # _Alois P. Heinz_, Mar 08 2015
%t multinomial[n_, k_List] := n!/Times @@ (k!); b[n_, i_, t_] := b[n, i, t] = If[n == 0, t, If[i<1, 0, Sum[multinomial[n, Join[{n-i*j}, Array[i&, j]]]/j!*b[n-i*j, i-1, Mod[t+If[Mod[i, 2] == 0, j, 0], 2]], {j, 0, n/i}]]]; a[n_] := b[n, n, 2]; Table[ a[n], {n, 1, 30}] (* _Jean-François Alcover_, May 13 2015, after _Alois P. Heinz_ *)
%t With[{nn=30},Rest[CoefficientList[Series[Exp[Sinh[x]]Sinh[Cosh[x]-1], {x,0,nn}],x] Range[0,nn]!]] (* _Harvey P. Dale_, Sep 03 2016 *)
%Y Cf. A000701.
%Y Cf. A024429, A024430, A096647.
%K easy,nonn
%O 1,3
%A _Vladeta Jovovic_, Aug 14 2004
%E More terms from _Emeric Deutsch_, Nov 16 2004