cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A324162 Number T(n,k) of set partitions of [n] where each subset is again partitioned into k nonempty subsets; triangle T(n,k), n>=0, 0<=k<=n, read by rows.

This page as a plain text file.
%I A324162 #41 May 08 2022 08:42:42
%S A324162 1,0,1,0,2,1,0,5,3,1,0,15,10,6,1,0,52,45,25,10,1,0,203,241,100,65,15,
%T A324162 1,0,877,1428,511,350,140,21,1,0,4140,9325,3626,1736,1050,266,28,1,0,
%U A324162 21147,67035,29765,9030,6951,2646,462,36,1,0,115975,524926,250200,60355,42651,22827,5880,750,45,1
%N A324162 Number T(n,k) of set partitions of [n] where each subset is again partitioned into k nonempty subsets; triangle T(n,k), n>=0, 0<=k<=n, read by rows.
%H A324162 Alois P. Heinz, <a href="/A324162/b324162.txt">Rows n = 0..140, flattened</a>
%H A324162 Wikipedia, <a href="https://en.wikipedia.org/wiki/Partition_of_a_set">Partition of a set</a>
%F A324162 E.g.f. of column k>0: exp((exp(x)-1)^k/k!).
%F A324162 Sum_{k=1..n} k * T(n,k) = A325929(n).
%F A324162 T(n,k) = Sum_{j=0..floor(n/k)} (k*j)! * Stirling2(n,k*j)/(k!^j * j!) for k > 0. - _Seiichi Manyama_, May 07 2022
%e A324162 T(4,2) = 10: 123/4, 124/3, 12/34, 134/2, 13/24, 14/23, 1/234, 1/2|3/4, 1/3|2/4, 1/4|2/3.
%e A324162 Triangle T(n,k) begins:
%e A324162   1;
%e A324162   0,    1;
%e A324162   0,    2,    1;
%e A324162   0,    5,    3,    1;
%e A324162   0,   15,   10,    6,    1;
%e A324162   0,   52,   45,   25,   10,    1;
%e A324162   0,  203,  241,  100,   65,   15,   1;
%e A324162   0,  877, 1428,  511,  350,  140,  21,  1;
%e A324162   0, 4140, 9325, 3626, 1736, 1050, 266, 28, 1;
%e A324162   ...
%p A324162 T:= proc(n, k) option remember; `if`(n=0, 1, `if`(k=0, 0, add(
%p A324162       T(n-j, k)*binomial(n-1, j-1)*Stirling2(j, k), j=k..n)))
%p A324162     end:
%p A324162 seq(seq(T(n, k), k=0..n), n=0..12);
%t A324162 nmax = 10;
%t A324162 col[k_] := col[k] = CoefficientList[Exp[(Exp[x]-1)^k/k!] + O[x]^(nmax+1), x][[k+1;;]] Range[k, nmax]!;
%t A324162 T[n_, k_] := Which[k == n, 1, k == 0, 0, True, col[k][[n-k+1]]];
%t A324162 Table[T[n, k], {n, 0, nmax}, {k, 0, n}] // Flatten (* _Jean-François Alcover_, Apr 26 2020 *)
%o A324162 (PARI) T(n, k) = if(k==0, 0^n, sum(j=0, n\k, (k*j)!*stirling(n, k*j, 2)/(k!^j*j!))); \\ _Seiichi Manyama_, May 07 2022
%Y A324162 Columns k=0-10 give: A000007, A000110 (for n>0), A060311, A327504, A327505, A327506, A327507, A327508, A327509, A327510, A327511.
%Y A324162 Row sums give A324238.
%Y A324162 T(2n,n) gives A324241.
%Y A324162 Cf. A008277, A048993, A039810, A130191, A325929.
%K A324162 nonn,tabl
%O A324162 0,5
%A A324162 _Alois P. Heinz_, Sep 02 2019