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!)
A115277 Number of partitions of {1,...,n} into blocks such that no even sized block is repeated. 4
1, 1, 2, 5, 12, 37, 143, 562, 2320, 10941, 54865, 283890, 1604155, 9558226, 58668223, 384572975, 2631778832, 18576630237, 137919691717, 1060303298138, 8415786131309, 69538205444478, 591734670548037, 5194542789203877, 47127033586211659, 438972204436025198 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
E.g.f.: exp(sinh(x)) * Product {m >= 1} (1+x^(2*m)/(2*m)!).
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-1), j=0..min(
`if`(irem(i, 2)=0, 1, n), n/i))))
end:
a:= n-> b(n$2):
seq(a(n), n=0..30); # 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-1], {j, 0, Min[If[Mod[i, 2]==0, 1, n], n/i]}]]]; a[n_] := b[n, n]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Oct 25 2015, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A024717 A003724 A138314 * A130221 A036782 A050237
KEYWORD
nonn
AUTHOR
Christian G. Bower, Jan 18 2006
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 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)