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!)
A331956 Triangle T(n,k) read by rows: number of rooted chains of length k in set partitions of n labeled points. 2

%I #34 Feb 11 2020 18:29:31

%S 1,0,1,0,1,1,0,1,4,3,0,1,14,31,18,0,1,51,255,385,180,0,1,202,2066,

%T 6110,6945,2700,0,1,876,17549,90839,188510,171045,56700,0,1,4139,

%U 159615,1364307,4603620,7314650,5507460,1587600

%N Triangle T(n,k) read by rows: number of rooted chains of length k in set partitions of n labeled points.

%C Also the number of chains of length k in unordered set partitions of {1,2,...,n} such that the first term of the chains is either {{1}, {2},...,{n}} or {{1,2,..,n}}.

%C Number of rooted k-level fuzzy equivalence matrices of order n.

%H Alois P. Heinz, <a href="/A331956/b331956.txt">Rows n = 0..140, flattened</a>

%H S. R. Kannan and Rajesh Kumar Mohapatra, <a href="https://arxiv.org/abs/1909.13678">Counting the Number of Non-Equivalent Classes of Fuzzy Matrices Using Combinatorial Techniques</a>, arXiv preprint arXiv:1909.13678 [math.GM], 2019.

%H V. Murali, <a href="https://doi.org/10.1016/j.ins.2004.08.008">Equivalent finite fuzzy sets and Stirling numbers</a>, Inf. Sci., 174 (2005), 251-263.

%H R. B. Nelsen and H. Schmidt, Jr., <a href="http://www.jstor.org/stable/2690450">Chains in power sets</a>, Math. Mag., 64 (1) (1991), 23-31.

%F T(0, 0) = 1, T(0, k) = 0 for k > 0 and T(n, 1) = 1 for n > 1.

%F T(n, k) = Sum_{i_(k-1)=k-1..n-1} (Sum_{i_(k-2)=k-2..i_(k-1) - 1} (... (Sum_{i_2=2..i_3 - 1} (Sum_{i_1=1..i_2 - 1} Stirling2(n,i_(k-1)) * Stirling2(i_(k-1),i_(k-2)) * ... * Stirling2(i_3,i_2) * Stirling2(i_2,i_1)))...)), where 2 <= k <= n.

%e Triangle T(n,k) begins:

%e n\k | 0 1 2 3 4 5 6 7

%e ----+-----------------------------------------

%e 0 | 1

%e 1 | 0 1

%e 2 | 0 1 1

%e 3 | 0 1 4 3

%e 4 | 0 1 14 31 18

%e 5 | 0 1 51 255 385 180

%e 6 | 0 1 202 2066 6110 6945 2700

%e 7 | 0 1 876 17549 90839 188510 171045 56700

%e ...

%e The T(3,2) = 4 in the lattice of set partitions of {1,2,3}:

%e {{1},{2},{3}} < {{1,2},{3}},

%e {{1},{2},{3}} < {{1,3},{2}},

%e {{1},{2},{3}} < {{1},{2,3}},

%e {{1},{2},{3}} < {{1,2,3}}.

%e Or,

%e {{1,2,3}} > {{1,2},{3}},

%e {{1,2,3}} > {{1,3},{2}},

%e {{1,2,3}} > {{1},{2,3}},

%e {{1,2,3}} > {{1},{2},{3}}.

%p b:= proc(n, k, t) option remember; `if`(k<0 or k>n, 0, `if`(k=1 or

%p {n, k}={0}, 1, add(b(v, k-1, 1)*Stirling2(n, v), v=k..n-t)))

%p end:

%p T:= (n, k)-> b(n, k, 0):

%p seq(seq(T(n, k), k=0..n), n=0..10); # _Alois P. Heinz_, Feb 09 2020

%t b[n_, k_, t_] := b[n, k, t] = If[k < 0 || k > n, 0, If[k == 1 || Union@{n, k} == {0}, 1, Sum[b[v, k - 1, 1]*StirlingS2[n, v], {v, k, n - t}]]];

%t T[n_, k_] := b[n, k, 0];

%t Table[T[n, k], {n, 0, 20}, {k, 0, n}] // Flatten

%o (PARI) b(n, k, t) = {if (k < 0, return(0)); if ((n==0) && (k==0), return (1)); if ((k==1) && (n>0), return(1)); sum(v = k, n - t, if (k==1, 1, b(v, k-1, 1))*stirling(n, v, 2));}

%o T(n, k) = b(n, k, 0);

%o matrix(8,8,n, k, T(n-1, k-1)) \\ to see the triangle \\ _Michel Marcus_, Feb 09 2020

%Y Cf. A000007 (column k=0), A057427 (column k=1), A058692 (column k=2), A006472 (diagonal), A331957 (row sums).

%Y Cf. A000110, A008277, A048993, A328044, A330301, A330302.

%K nonn,tabl

%O 0,9

%A S. R. Kannan, _Rajesh Kumar Mohapatra_, Feb 02 2020

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 August 26 07:40 EDT 2024. Contains 375454 sequences. (Running on oeis4.)