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!)
A324523 Number of colored set partitions of [2n] where elements of subsets have distinct colors and exactly n colors are used. 2

%I #33 May 05 2020 05:33:21

%S 1,1,74,31770,42687960,134092967400,831428629796160,

%T 9095459029214397840,162061482211484681105280,

%U 4429476877635332233622271360,177245727799376537644530489120000,10002691163041098923871227379695673600,772102922309973700712743861257373871078400

%N Number of colored set partitions of [2n] where elements of subsets have distinct colors and exactly n colors are used.

%H Alois P. Heinz, <a href="/A324523/b324523.txt">Table of n, a(n) for n = 0..139</a>

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

%F a(n) = A323128(2n,n).

%p b:= proc(n, k) option remember; `if`(n=0, 1, add(k!/(k-j)!

%p *binomial(n-1, j-1)*b(n-j, k), j=1..min(k, n)))

%p end:

%p a:= n-> add(b(2*n, n-i)*(-1)^i*binomial(n, i), i=0..n):

%p seq(a(n), n=0..15);

%t b[n_, k_] := b[n, k] = If[n == 0, 1, Sum[k!/(k-j)! Binomial[n - 1, j - 1]* b[n - j, k], {j, 1, Min[k, n]}]];

%t a[n_] := Sum[b[2n, n - i] (-1)^i Binomial[n, i], {i, 0, n}];

%t a /@ Range[0, 15] (* _Jean-François Alcover_, May 05 2020, after Maple *)

%Y Cf. A323128.

%K nonn

%O 0,3

%A _Alois P. Heinz_, Sep 03 2019

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