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!)
A271765 Number of set partitions of [n] with minimal block length multiplicity equal to five. 2

%I #8 May 15 2018 06:41:34

%S 1,0,0,0,0,945,0,0,0,0,4239235,7567560,82702620,41351310,1658646990,

%T 24448068645,117626817945,239611442070,8260908743395,1834189492520,

%U 4508736346382576,2979073800027325,256635727575051825,2371542394294648575,16374593589666387075

%N Number of set partitions of [n] with minimal block length multiplicity equal to five.

%H Alois P. Heinz, <a href="/A271765/b271765.txt">Table of n, a(n) for n = 5..577</a>

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Partition_of_a_set">Partition of a set</a>

%F a(n) = A271424(n,5).

%p with(combinat):

%p b:= proc(n, i, k) option remember; `if`(n=0, 1,

%p `if`(i<1, 0, add(multinomial(n, n-i*j, i$j)

%p *b(n-i*j, i-1, k)/j!, j={0, $k..n/i})))

%p end:

%p a:= n-> b(n$2, 5)-b(n$2, 6):

%p seq(a(n), n=5..30);

%t multinomial[n_, k_List] := n!/Times @@ (k!);

%t b[n_, i_, k_] := b[n, i, k] = If[n == 0, 1, If[i < 1, 0, Sum[multinomial[n, Join[{n - i*j}, Table[i, j]]]*b[n - i*j, i - 1, k]/j!, {j, Join[{0}, Range[k, n/i]]}]]];

%t a[n_] := b[n, n, 5] - b[n, n, 6];

%t Table[a[n], {n, 5, 30}] (* _Jean-François Alcover_, May 15 2018, after _Alois P. Heinz_ *)

%Y Column k=5 of A271424.

%K nonn

%O 5,6

%A _Alois P. Heinz_, Apr 13 2016

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 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)