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.

Showing 1-2 of 2 results.

A184957 Triangle read by rows: T(n,k) (n >= 1, 1 <= k <= n) is the number of compositions of n into k parts the first of which is >= all the other parts.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 3, 1, 1, 1, 3, 4, 4, 1, 1, 1, 3, 6, 7, 5, 1, 1, 1, 4, 8, 11, 11, 6, 1, 1, 1, 4, 11, 17, 19, 16, 7, 1, 1, 1, 5, 13, 26, 32, 31, 22, 8, 1, 1, 1, 5, 17, 35, 54, 56, 48, 29, 9, 1, 1, 1, 6, 20, 48, 82, 102, 93, 71, 37, 10, 1, 1, 1, 6, 24, 63, 120, 172, 180, 148, 101, 46, 11, 1, 1, 1, 7, 28, 81, 170, 272, 331, 302, 227, 139, 56, 12, 1, 1
Offset: 1

Views

Author

N. J. A. Sloane, Feb 27 2011

Keywords

Comments

If the final diagonal is omitted, this gives the triangular array visible in A156041 and A186807.

Examples

			Triangle begins:
  [1],
  [1, 1],
  [1, 1, 1],
  [1, 2, 1, 1],
  [1, 2, 3, 1, 1],
  [1, 3, 4, 4, 1, 1],
  [1, 3, 6, 7, 5, 1, 1],
  [1, 4, 8, 11, 11, 6, 1, 1],
  [1, 4, 11, 17, 19, 16, 7, 1, 1],
  [1, 5, 13, 26, 32, 31, 22, 8, 1, 1],
  [1, 5, 17, 35, 54, 56, 48, 29, 9, 1, 1],
  ...
		

Crossrefs

Cf. A156040, A156041, A186807, A079500 (row sums).

Programs

  • Maple
    # The following Maple program is a modification of Alois P. Heinz's program for A156041
    b:= proc(n, i, m) option remember;
           if n<0 then 0 elif n=0 then 1 elif i=1 then
          `if`(n<=m, 1, 0) else add(b(n-k, i-1, m), k=0..m) fi
        end:
    A:= (n, k)-> add(b(n-m, k-1, m), m=ceil(n/k)..n):
    [seq([seq(A(d-k, k), k=1..d)], d=1..14)];
  • Mathematica
    Map[Select[#,#>0&]&,Drop[nn=11;CoefficientList[Series[Sum[x^i/(1-y(x-x^(i+1))/(1-x)),{i,1,nn}],{x,0,nn}],{x,y}],1]]//Grid (* Geoffrey Critzer, Jul 15 2013 *)

Formula

T(n,k) = A156041(n-k,k).
O.g.f.: Sum_{i>=1} x^i/(1 - y*(x - x^(i+1))/(1-x)). - Geoffrey Critzer, Jul 15 2013

A188624 a(n) = greatest entry in row n of A184957.

Original entry on oeis.org

1, 1, 1, 2, 3, 4, 7, 11, 19, 32, 56, 102, 180, 331, 596, 1101, 2015, 3724, 6904, 12782, 23923, 44444, 83755, 156334, 296084, 555531, 1056095, 1991784, 3797790, 7197369, 13757665, 26186491, 50164787, 95847772, 183980036, 352670170, 678215028, 1303661995, 2511483176, 4838822931, 9337575130, 18025920971, 34840575458, 67371021603, 130412367572
Offset: 1

Views

Author

N. J. A. Sloane, Apr 06 2011

Keywords

Comments

The greatest entry occurs at the midpoint of the row.
This also gives the greatest entries in the rows of A186807 and A156041.

Crossrefs

Bisections give A156043, A188625.

Formula

I would like to know the asymptotics for this sequence.
Showing 1-2 of 2 results.