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-3 of 3 results.

A100754 Triangle read by rows: T(n, k) = number of hill-free Dyck paths (i.e., no peaks at height 1) of semilength n and having k peaks.

Original entry on oeis.org

1, 1, 1, 1, 4, 1, 1, 8, 8, 1, 1, 13, 29, 13, 1, 1, 19, 73, 73, 19, 1, 1, 26, 151, 266, 151, 26, 1, 1, 34, 276, 749, 749, 276, 34, 1, 1, 43, 463, 1781, 2762, 1781, 463, 43, 1, 1, 53, 729, 3758, 8321, 8321, 3758, 729, 53, 1, 1, 64, 1093, 7253, 21659, 31004, 21659, 7253, 1093, 64, 1
Offset: 2

Views

Author

Emeric Deutsch, Jan 14 2005

Keywords

Comments

Row n has n - 1 terms. Row sums yield the Fine numbers (A000957).
Related to the number of certain sets of non-crossing partitions for the root system A_n (p. 11, Athanasiadis and Savvidou). - Tom Copeland, Oct 19 2014
T(n,k) is the number of permutations pi of [n-1] with k - 1 descents such that s(pi) avoids the patterns 132, 231, and 312, where s is West's stack-sorting map. - Colin Defant, Sep 16 2018
The absolute values of the polynomials at -1 and j (cube root of 1) seem to be given by A126120 and A005043. - F. Chapoton, Nov 16 2021
Don Knuth observes that this sequence also arrises from the enumeration of restricted max-and-min-closed relations, only there it appears as an array read by antidiagonals: see the Knuth "Notes" link and A372068. Knuth also gives a formula expressing the array A372368 in terms of this array. He also reports that there is strong experimental evidence that the n-th term of row m in this array is a polynomial of degree 2*m-2 in n. - N. J. A. Sloane, May 12 2024

Examples

			T(4, 2) = 4 because we have UU*DDUU*DD, UU*DUU*DDD, UUU*DDU*DD and UUU*DU*DDD, where U = (1, 1), D = (1,-1) and * indicates the peaks.
Triangle starts:
   1;
   1,  1;
   1,  4,   1;
   1,  8,   8,    1;
   1, 13,  29,   13,    1;
   1, 19,  73,   73,   19,    1;
   1, 26, 151,  266,  151,   26,    1;
   1, 34, 276,  749,  749,  276,   34,   1;
   1, 43, 463, 1781, 2762, 1781,  463,  43,  1;
   1, 53, 729, 3758, 8321, 8321, 3758, 729, 53, 1;
   ...
As an array (for which the rows of the preceding triangle are the antidiagonals):
   1,  1,    1,     1,      1,      1,       1,        1,        1, ...
   1,  4,    8,    13,     19,     26,      34,       43,       53, ...
   1,  8,   29,    73,    151,    276,     463,      729,     1093, ...
   1, 13,   73,   266,    749,   1781,    3758,     7253,    13061, ...
   1, 19,  151,   749,   2762,   8321,   21659,    50471,   107833, ...
   1, 26,  276,  1781,   8321,  31004,   97754,   271125,   679355, ...
   1, 34,  463,  3758,  21659,  97754,  367285,  1196665,  3478915, ...
   1, 43,  729,  7253,  50471, 271125, 1196665,  4526470, 15118415, ...
   1, 53, 1093, 13061, 107833, 679355, 3478915, 15118415, 57500480, ...
   ...
		

Crossrefs

Programs

  • Maple
    T := (n, k) -> add((j/(n-j))*binomial(n-j, k-j)*binomial(n-j,k), j=0..min(k,n-k)): for n from 2 to 13 do seq(T(n, k), k = 1..n-1) od; # yields the sequence in triangular form
  • Mathematica
    T[n_, k_] := Sum[(j/(n-j))*Binomial[n-j, k-j]*Binomial[n-j, k], {j, 0, Min[k, n-k]}]; Table[T[n, k], {n, 2, 13}, {k, 1, n-1}] // Flatten (* Jean-François Alcover, Feb 19 2017, translated from Maple *)

Formula

T(n, k) = Sum_{j=0..min(k, n-k)} (j/(n-j)) * C(n-j, k-j) * C(n-j, k), n >= 2.
G.f.: t*z*r/(1 - t*z*r), where r = r(t, z) is the Narayana function defined by r = z*(1 + r)*(1 + t*r).
From Tom Copeland, Oct 19 2014: (Start)
With offset 0 for A108263 and offset 1 for A132081, row polynomials of this entry P(n, x) = Sum_{i} A108263(n, i)*x^i*(1 + x)^(n - 2*i) = Sum_{i} A132081(n - 2, i)*x^i*(1 + x)^(n - 2*i).
E.g., P(4, x) = 1*x*(1 + x)^(4 - 2*1) + 2*x^2*(1 + x)^(4 - 2*2) = x + 4*x^2 + x^3.
Equivalently, let Q(n, x) be the row polynomials of A108263. Then P(n, x) = (1 + x)^n * Q(n, x/(1 + x)^2).
E.g., P(4, x) = (1 + x)^4 * (x/(1 + x)^2 + 2 * (x/(1 + x)^2)^2).
See Athanasiadis and Savvidou (p. 7). (End)

A372066 Array read by antidiagonals: T(m,n) (m >= 1, n >= 1) = number of reduced connected row convex (RCRC) constraints between an m-element set and an n-element set.

Original entry on oeis.org

1, 1, 1, 1, 7, 1, 1, 17, 17, 1, 1, 31, 90, 31, 1, 1, 49, 284, 284, 49, 1, 1, 71, 687, 1398, 687, 71, 1, 1, 97, 1411, 4861, 4861, 1411, 97, 1, 1, 127, 2592, 13555, 23020, 13555, 2592, 127, 1, 1, 161, 4390, 32436, 83858, 83858, 32436, 4390, 161, 1
Offset: 1

Views

Author

N. J. A. Sloane, May 12 2024, based on emails from Don Knuth, May 06 2024 and May 08 2024

Keywords

Comments

See the Knuth "Notes" link for much more information about these sequences. The present sequence is called "table0" in Part 1 of the Notes.

Examples

			The initial antidiagonals are:
   1,
   1, 1,
   1, 7, 1,
   1, 17, 17, 1,
   1, 31, 90, 31, 1,
   1, 49, 284, 284, 49, 1,
   1, 71, 687, 1398, 687, 71, 1,
   1, 97, 1411, 4861, 4861, 1411, 97, 1,
   1, 127, 2592, 13555, 23020, 13555, 2592, 127, 1,
   1, 161, 4390, 32436, 83858, 83858, 32436, 4390, 161, 1,
   ...
The array begins:
   1, 1, 1, 1, 1, 1, 1, 1, 1, ...
   1, 7, 17, 31, 49, 71, 97, 127, 161, ...
   1, 17, 90, 284, 687, 1411, 2592, 4390, 6989, ...
   1, 31, 284, 1398, 4861, 13555, 32436, 69350, 135985, ...
   1, 49, 687, 4861, 23020, 83858, 253876, 669660, 1587491, ...
   1, 71, 1411, 13555, 83858, 386774, 1445748, 4613486, 13010537, ...
   1, 97, 2592, 32436, 253876, 1445748, 6539320, 24831150, 82162821, ...
   1, 127, 4390, 69350, 669660, 4613486, 24831150, 110639796, 424473531, ...
   1, 161, 6989, 135985, 1587491, 13010537, 82162821, 424473531, 1868934548, ...
   ...
		

References

  • Yves Deville, Olivier Barette, Pascal Van Hentenryck, Constraint satisfaction over connected row-convex constraints, Artificial Intelligence 109 (1999), 243-271.
  • Peter Jeavons, David Cohen, Martin C. Cooper, Constraints, consistency and closure". Artificial Intelligence 101 (1998), 251-265.

Crossrefs

Formula

Knuth gives a formula expressing the array A372367 in terms of the current array. He also reports that there is strong experimental evidence that the n-th term of row m in the current array is a polynomial of degree 2*m-2 in n.

A372067 Array read by antidiagonals: T(m,n) (m >= 0, n >= 0) = number of connected row convex (CRC) constraints between an m-element set and an n-element set.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 4, 4, 1, 1, 8, 16, 8, 1, 1, 16, 56, 56, 16, 1, 1, 32, 176, 289, 176, 32, 1, 1, 64, 512, 1231, 1231, 512, 64, 1, 1, 128, 1408, 4623, 6655, 4623, 1408, 128, 1, 1, 256, 3712, 15887, 30553, 30553, 15887, 3712, 256, 1, 1, 512, 9472, 51103, 125197, 166186, 125197, 51103, 9472, 512, 1
Offset: 0

Views

Author

N. J. A. Sloane, May 12 2024, based on emails from Don Knuth, May 06 2024 and May 08 2024

Keywords

Comments

See the Knuth "Notes" link for much more information about these sequences. The present sequence is called "table" in Part 1 of the Notes.

Examples

			The initial antidiagonals are:
   1,
   1, 1,
   1, 2, 1,
   1, 4, 4, 1,
   1, 8, 16, 8, 1,
   1, 16, 56, 56, 16, 1,
   1, 32, 176, 289, 176, 32, 1,
   1, 64, 512, 1231, 1231, 512, 64, 1,
   1, 128, 1408, 4623, 6655, 4623, 1408, 128, 1,
   1, 256, 3712, 15887, 30553, 30553, 15887, 3712, 256, 1,
   1, 512, 9472, 51103, 125197, 166186, 125197, 51103, 9472, 512, 1,
   ...
The array begins:
   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
   1, 2, 4, 8, 16, 32, 64, 128, 256, 512, ...
   1, 4, 16, 56, 176, 512, 1408, 3712, 9472, 23552, ...
   1, 8, 56, 289, 1231, 4623, 15887, 51103, 156159, 457983, ...
   1, 16, 176, 1231, 6655, 30553, 125197, 471581, 1664061, 5572733, ...
   1, 32, 512, 4623, 30553, 166186, 790250, 3402874, 13570090, 50887322, ...
   1, 64, 1408, 15887, 125197, 790250, 4283086, 20750168, 92177312, 382005370, ...
   1, 128, 3712, 51103, 471581, 3402874, 20750168, 111803585,  547505091, 2483709151, ...
   1, 256, 9472, 156159, 1664061, 13570090, 92177312, 547505091, 2932069965, 14453287777, ...
   1, 512, 23552, 457983, 5572733, 50887322, 382005370, 2483709151, 14453287777, 76964939964, ...
   ...
		

References

  • Yves Deville, Olivier Barette, Pascal Van Hentenryck, Constraint satisfaction over connected row-convex constraints, Artificial Intelligence 109 (1999), 243-271.
  • Peter Jeavons, David Cohen, Martin C. Cooper, Constraints, consistency and closure". Artificial Intelligence 101 (1998), 251-265.

Crossrefs

Formula

Knuth gives a formula expressing the current array in terms of the array A372066.
Showing 1-3 of 3 results.