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.

A108458 Triangle read by rows: T(n,k) is the number of set partitions of {1,2,...,n} in which the last block is the singleton {k}, 1<=k<=n; the blocks are ordered with increasing least elements.

This page as a plain text file.
%I A108458 #25 Dec 10 2024 10:00:51
%S A108458 1,0,1,0,1,2,0,1,3,5,0,1,5,10,15,0,1,9,22,37,52,0,1,17,52,99,151,203,
%T A108458 0,1,33,130,283,471,674,877,0,1,65,340,855,1561,2386,3263,4140,0,1,
%U A108458 129,922,2707,5451,8930,12867,17007,21147,0,1,257,2572,8919,19921,35098,53411,73681,94828,115975
%N A108458 Triangle read by rows: T(n,k) is the number of set partitions of {1,2,...,n} in which the last block is the singleton {k}, 1<=k<=n; the blocks are ordered with increasing least elements.
%C A108458 Another way to obtain this sequence (with offset 0): Form the infinite array U(n,k) = number of labeled partitions of (n,k) into pairs (i,j), for n >= 0, k >= 0 and read it by antidiagonals. In other words, U(n,k) = number of partitions of n black objects labeled 1..n and k white objects labeled 1..k. Each block must have at least one white object.
%C A108458 Then T(n,k)=U(n+k,k+1). Thus the two versions are related like "multichoose" to "choose". - _Augustine O. Munagi_, Jul 16 2007
%H A108458 Alois P. Heinz, <a href="/A108458/b108458.txt">Rows n = 1..141, flattened</a>
%F A108458 T(n,1)=0 for n>=2; T(n,2)=1 for n>=2; T(n,3)=1+2^(n-3) for n>=3; T(n,n)=B(n-1), T(n,n-1)=B(n-1)-B(n-2), where B(q) are the Bell numbers (A000110).
%F A108458 Double e.g.f.: exp(exp(x)*(exp(y)-1)).
%F A108458 U(n,k) = Sum_{i=0..k} i^(n-k)*Stirling2(k,i). - _Vladeta Jovovic_, Jul 12 2007
%e A108458 Triangle T(n,k) starts:
%e A108458   1;
%e A108458   0,1;
%e A108458   0,1,2;
%e A108458   0,1,3,5;
%e A108458   0,1,5,10,15;
%e A108458 T(5,3)=5 because we have 1245|3, 145|2|3, 14|25|3, 15|24|3 and 1|245|3.
%e A108458 The arrays U(n,k) starts:
%e A108458    1  0  0   0   0 ...
%e A108458    1  1  1   1   1 ...
%e A108458    2  3  5   9  17 ...
%e A108458    5 10 22  52 130 ...
%e A108458   15 37 99 283 855 ...
%t A108458 T[n_, k_] := Sum[If[n == k, 1, i^(n-k)]*StirlingS2[k, i], {i, 0, k}];
%t A108458 Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* _Jean-François Alcover_, Dec 10 2024, after _Vladeta Jovovic_ *)
%Y A108458 Row sums of T(n, k) yield A124496(n, 1).
%Y A108458 Cf. A108461.
%Y A108458 Columns of U(n, k): A000110, A005493, A033452.
%Y A108458 Rows of U(n, k): A000007, A000012, A000051.
%Y A108458 Main diagonal: A108459.
%K A108458 nonn,tabl
%O A108458 1,6
%A A108458 _Christian G. Bower_, Jun 03 2005; _Emeric Deutsch_, Nov 14 2006
%E A108458 Edited by _N. J. A. Sloane_, May 22 2008, at the suggestion of _Vladeta Jovovic_. This entry is a composite of two entries submitted independently by _Christian G. Bower_ and _Emeric Deutsch_, with additional comments from _Augustine O. Munagi_.