login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A149525 A149526 A249075 * A197958 A094107 A107009
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Nov 02 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)