OFFSET
0,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..500
C. G. Bower, Transforms (2)
FORMULA
"EGJ" (unordered, element, labeled) transform of 1, 0, 1, 0... (odds)
E.g.f.: Product_{k>0} (1+x^(2*k-1)/(2*k-1)!). - Vladeta Jovovic, Jan 16 2004
MAPLE
with(combinat):
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0, add(
multinomial(n, n-i*j, i$j)/j!*b(n-i*j, i-2), j=0..min(1, n/i))))
end:
a:= n-> b(n, iquo(n+1, 2)*2-1):
seq(a(n), n=0..40); # Alois P. Heinz, Mar 08 2015
MATHEMATICA
multinomial[n_, k_List] := n!/Times @@ (k!); b[n_, i_] := b[n, i] = If[n == 0, 1, If[i<1, 0, Sum[multinomial[n, Join[{n-i*j}, Array[i&, j]]]/j!*b[n - i*j, i-2], {j, 0, Min[1, n/i]}]]]; a[n_] := b[n, Quotient[n+1, 2]*2-1]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Feb 05 2017, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Description corrected by Vladeta Jovovic, Aug 18 2004
a(0)=1 prepended by Alois P. Heinz, Mar 08 2015
STATUS
approved