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!)
A089005 Number of partitions of n-set with at least one even block. 1
0, 1, 3, 10, 40, 166, 749, 3683, 19275, 107806, 640970, 4024912, 26653653, 185401581, 1350624721, 10282222002, 81592209580, 673535269054, 5773214891137, 51291776763863, 471617190143567, 4481375500319334, 43947651280912186, 444258975094335440 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
E.g.f.: exp(sinh(x))*(exp(cosh(x)-1)-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, 1-irem(i, 2)))), j=0..n/i)))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=1..30);
MATHEMATICA
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, {n - i j} ~Join~ Table[i, {j}]]/j! b[n - i j, i - 1, Max[t, If[j == 0, 0, 1 - Mod[i, 2]]]], {j, 0, n/i}]]];
a[n_] := b[n, n, 0];
Array[a, 30] (* Jean-François Alcover, Nov 18 2020, after Maple *)
PROG
(PARI) my(x='x+O('x^30)); concat(0, Vec(serlaplace(exp(sinh(x))*(exp(cosh(x)-1)-1))))
CROSSREFS
Sequence in context: A149055 A254535 A093639 * A287887 A088300 A151074
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 19 07:38 EDT 2024. Contains 371782 sequences. (Running on oeis4.)