login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A089004
Number of partitions of an n-element set that have at least one odd block.
1
1, 1, 5, 11, 52, 172, 877, 3761, 21147, 109419, 678570, 4063248, 27644437, 186525861, 1382958545, 10323844183, 82864869804, 675378319788, 5832742205057, 51386368744773, 474869816156751, 4486977535640087
OFFSET
1,3
LINKS
FORMULA
E.g.f.: exp(cosh(x)-1)*(exp(sinh(x))-1).
MAPLE
with(combinat):
b:= proc(n, i, t) option remember; `if`(n=0, t, `if`(i<1, 0,
add(multinomial(n, n-i*j, i$j)/j!*b(n-i*j, i-1,
max(t, `if`(j=0, 0, irem(i, 2)))), j=0..n/i)))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=1..30); # Alois P. Heinz, Mar 08 2015
MATHEMATICA
With[{nn=30}, CoefficientList[Series[Exp[Cosh[x]-1](Exp[Sinh[x]]-1), {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, May 04 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Nov 02 2003
STATUS
approved