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.

A136011 Irregular triangle read by rows, Stirling numbers of the second kind: columns shifted to allow (1, 1, 2, 2, 3, 3, ...) terms per row.

This page as a plain text file.
%I A136011 #20 Mar 27 2022 22:24:23
%S A136011 1,1,1,1,1,3,1,7,1,1,15,6,1,31,25,1,1,63,90,10,1,127,301,65,1,1,255,
%T A136011 966,350,15,1,511,3025,1701,140,1,1,1023,9330,7770,1050,21,1,2047,
%U A136011 28501,34105,6951,266,1,1,4095,86526,145750,42525,2646,28
%N A136011 Irregular triangle read by rows, Stirling numbers of the second kind: columns shifted to allow (1, 1, 2, 2, 3, 3, ...) terms per row.
%C A136011 Row sums = A024427: (1, 1, 2, 4, 9, 22, 58, 164, 495, 1587, ...).
%C A136011 T(n,k) is the number of ways to partition {1,2,...,n+1} into exactly k blocks such that each block contains at least 2 elements and the smallest 2 elements in each block are consecutive integers. - _Geoffrey Critzer_, Dec 02 2013
%H A136011 Alois P. Heinz, <a href="/A136011/b136011.txt">Rows n = 1..200, flattened</a>
%F A136011 Given A008277, the Stirling number of the second kind triangle, left column = (1, 1, 1, ...); all other columns start at 3rd term of previous column.
%F A136011 O.g.f. for column k: Product_{i=1..k} x^2/(1 - i*x). - _Geoffrey Critzer_, Dec 02 2013
%F A136011 T(n,k) = Stirling2(n+1-k,k). - _Alois P. Heinz_, Dec 04 2013
%e A136011 First few rows of the triangle:
%e A136011   1;
%e A136011   1;
%e A136011   1,   1;
%e A136011   1,   3;
%e A136011   1,   7,   1;
%e A136011   1,  15,   6;
%e A136011   1,  31,  25,   1;
%e A136011   1,  63,  90,  10;
%e A136011   1, 127, 301,  65,  1;
%e A136011   1, 255, 966, 350, 15;
%e A136011   ...
%e A136011 T(5,3) = 1 because we have {1,2},{3,4},{5,6}.
%e A136011 T(6,3) = 6 because we have {1,2,7},{3,4},{5,6}; {1,2},{3,4,7},{5,6}; {1,2},{3,4},{5,6,7}; {1,2},{3,4,5},{6,7}; {1,2,3},{4,5},{6,7}; {1,2,5},{3,4},{6,7}. - _Geoffrey Critzer_, Dec 02 2013
%p A136011 T:= (n, k)-> Stirling2(n+1-k, k):
%p A136011 seq(seq(T(n, k), k=1..(n+1)/2), n=1..20); # _Alois P. Heinz_, Dec 04 2013
%t A136011 nn=15;Range[0,nn]!;Map[Select[#,#>0&]&,Drop[Transpose[Table[CoefficientList[Series[Product[x^2/(1-i x),{i,1,k}],{x,0,nn}],x],{k,1,nn/2}]],2]]//Grid (* _Geoffrey Critzer_, Dec 02 2013 *)
%Y A136011 Cf. A008277, A024427.
%K A136011 nonn,tabf
%O A136011 1,6
%A A136011 _Gary W. Adamson_, Dec 09 2007