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!)
A053632 Irregular triangle read by rows giving coefficients in expansion of Product_{k=1..n} (1 + x^k). 82

%I #84 Oct 20 2023 12:34:09

%S 1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,2,2,2,2,1,1,1,1,1,1,2,2,3,3,3,3,

%T 3,3,2,2,1,1,1,1,1,1,2,2,3,4,4,4,5,5,5,5,4,4,4,3,2,2,1,1,1,1,1,1,2,2,

%U 3,4,5,5,6,7,7,8,8,8,8,8,7,7,6,5,5,4,3,2,2,1,1,1,1,1,1,2,2,3,4

%N Irregular triangle read by rows giving coefficients in expansion of Product_{k=1..n} (1 + x^k).

%C Or, triangle T(n,k) read by rows, giving number of subsets of {1,2,...,n} with sum k. - Roger CUCULIERE (cuculier(AT)imaginet.fr), Nov 19 2000

%C Row n consists of A000124(n) terms. These are also the successive vectors (their nonzero elements) when one starts with the infinite vector (of zeros) with 1 inserted somewhere and then shifts it one step (right or left) and adds to the original, then shifts the result two steps and adds, three steps and adds, etc. - _Antti Karttunen_, Feb 13 2002

%C T(n,k) = number of partitions of k into distinct parts <= n. Triangle of distribution of Wilcoxon's signed rank statistic. - _Mitch Harris_, Mar 23 2006

%C T(n,k) = number of binary words of length n in which the sum of the positions of the 0's is k. Example: T(4,5)=2 because we have 0110 (sum of the positions of the 0's is 1+4=5) and 1001 (sum of the positions of the 0's is 2+3=5). - _Emeric Deutsch_, Jul 23 2006

%C A fair coin is flipped n times. You receive i dollars for a "success" on the i-th flip, 1<=i<=n. T(n,k)/2^n is the probability that you will receive exactly k dollars. Your expectation is n(n+1)/4 dollars. - _Geoffrey Critzer_, May 16 2010

%C From _Gus Wiseman_, Jan 02 2023: (Start)

%C With offset 1, also the number of integer compositions of n whose partial sums add up to k for k = n..n(n+1)/2. For example, row n = 6 counts the following compositions:

%C 6 15 24 33 42 51 141 231 321 411 1311 2211 3111 12111 21111 111111

%C 114 123 132 222 312 1131 1221 2121 11121 11211

%C 213 1113 1122 1212 2112 1111

%C (End)

%D A. V. Yurkin, New binomial and new view on light theory, (book), 2013, 78 pages, no publisher listed.

%H Alois P. Heinz, <a href="/A053632/b053632.txt">Rows n = 0..40, flattened</a>

%H S. R. Finch, <a href="http://www.people.fas.harvard.edu/~sfinch/">Signum equations and extremal coefficients</a>.

%H Steven R. Finch, <a href="/A000980/a000980.pdf">Signum equations and extremal coefficients</a>, February 7, 2009. [Cached copy, with permission of the author]

%H FindStat - Combinatorial Statistic Finder, <a href="http://www.findstat.org/StatisticsDatabase/St000008/">The major index of an integer composition</a>

%H Alexander Rosa and Štefan Znám, <a href="/A002703/a002703.pdf">A combinatorial problem in the theory of congruences. (Russian)</a>, Mat.-Fys. Casopis Sloven. Akad. Vied 15 1965 49-59. [Annotated scanned copy] See Table 1.

%H F. Wilcoxon, <a href="http://www.jstor.org/stable/3001968">Individual Comparisons by Ranking Methods</a>, Biometrics Bulletin, v. 1, no. 6 (1945), pp. 80-83.

%H A. V. Yurkin, <a href="http://www.mce.biophys.msu.ru/eng/archive/abstracts/mce19/sect1138/doc150220/">On similarity of systems of geometrical and arithmetic triangles</a>, in Mathematics, Computing, Education Conference XIX, 2012.

%H A. V. Yurkin, <a href="http://arxiv.org/abs/1302.6287">New view on the diffraction discovered by Grimaldi and Gaussian beams</a>, arXiv preprint arXiv:1302.6287 [physics.optics], 2013.

%H A. V. Yurkin, <a href="http://www.mce.biophys.msu.ru/eng/archive/abstracts/mce22/sect1138/doc216454/">About the evident description of distribution of beams and "wavy geometrical trajectories" in long thin pipes</a>, 2014 (original in Russian).

%H A. V. Yurkin, <a href="https://www.researchgate.net/profile/Alexander_Yurkin/publication/274072415">Symmetric triangle of Pascal and non-linear arithmetic parallelepiped</a>, Book Manuscript, Research Gate 2015.

%F From _Mitch Harris_, Mar 23 2006: (Start)

%F T(n,k) = T(n-1, k) + T(n-1, k-n), T(0,0)=1, T(0,k) = 0, T(n,k) = 0 if k < 0 or k > (n+1 choose 2).

%F G.f.: (1+x)*(1+x^2)*...*(1+x^n). (End)

%F Sum_{k>=0} k * T(n,k) = A001788(n). - _Alois P. Heinz_, Feb 09 2017

%F max_{k>=0} T(n,k) = A025591(n). - _Alois P. Heinz_, Jan 20 2023

%e Triangle begins:

%e 1;

%e 1, 1;

%e 1, 1, 1, 1;

%e 1, 1, 1, 2, 1, 1, 1;

%e 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1;

%e 1, 1, 1, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 1, 1, 1;

%e 1, 1, 1, 2, 2, 3, 4, 4, 4, 5, 5, 5, 5, 4, 4, 4, 3, 2, 2, 1, 1, 1;

%e ...

%e Row n = 4 counts the following binary words, where k = sum of positions of zeros:

%e 1111 0111 1011 0011 0101 0110 0001 0010 0100 1000 0000

%e 1101 1110 1001 1010 1100

%e Row n = 5 counts the following strict partitions of k with all parts <= n (0 is the empty partition):

%e 0 1 2 3 4 5 42 43 53 54 532 542 543 5431 5432 54321

%e 21 31 32 51 52 431 432 541 5321 5421

%e 41 321 421 521 531 4321

%p with(gfun,seriestolist); map(op,[seq(seriestolist(series(mul(1+(z^i), i=1..n),z,binomial(n+1,2)+1)), n=0..10)]); # _Antti Karttunen_, Feb 13 2002

%p # second Maple program:

%p g:= proc(n) g(n):= `if`(n=0, 1, expand(g(n-1)*(1+x^n))) end:

%p T:= n-> seq(coeff(g(n), x, k), k=0..degree(g(n))):

%p seq(T(n), n=0..10); # _Alois P. Heinz_, Nov 19 2012

%t Table[CoefficientList[ Series[Product[(1 + t^i), {i, 1, n}], {t, 0, 100}], t], {n, 0, 8}] // Grid (* _Geoffrey Critzer_, May 16 2010 *)

%Y Cf. A053633, A068009.

%Y Rows reduced modulo 2 and interpreted as binary numbers: A068052, A068053. Rows converge towards A000009.

%Y Row sums give A000079.

%Y Cf. A001788, A028362.

%Y Cf. A285101 (multiplicative encoding of each row), A285103 (number of odd terms on row n), A285105 (number of even terms).

%Y Row lengths are A000124.

%Y A reciprocal version is (A033999, A219977, A291983, A291984, A291985, ...).

%Y A negative version is A231599.

%Y A version for partitions is A358194, reversed partitions A264034.

%Y Cf. A025591, A029931, A063865, A152947, A318283, A359042.

%K tabf,nonn,easy,nice

%O 0,11

%A _N. J. A. Sloane_, Mar 22 2000

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 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)