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.

A108759 Triangle read by rows: T(n,k) = binomial(3k,k)*binomial(n+k,3k)/(2k+1) (0 <= k <= floor(n/2)).

Original entry on oeis.org

1, 1, 1, 1, 1, 4, 1, 10, 3, 1, 20, 21, 1, 35, 84, 12, 1, 56, 252, 120, 1, 84, 630, 660, 55, 1, 120, 1386, 2640, 715, 1, 165, 2772, 8580, 5005, 273, 1, 220, 5148, 24024, 25025, 4368, 1, 286, 9009, 60060, 100100, 37128, 1428, 1, 364, 15015, 137280, 340340, 222768
Offset: 0

Views

Author

Emeric Deutsch, Jun 24 2005

Keywords

Comments

Row n has 1+floor(n/2) terms. Row sums are the Catalan numbers (A000108). T(2n,n) = binomial(3n,n)/(2n+1) (A001764).
Triangle read by rows: number of ordered trees counted by number of interior vertices adjacent to a leaf. T(n,k) = number of ordered trees on n edges (A000108) containing k nodes adjacent to a leaf, where a node is a non-leaf non-root vertex. - David Callan, Jul 25 2005
T(n,k) counts full binary trees on 2n edges by the value k of the following statistic X. Delete all right edges leaving the left edges in place. This partitions the left edges into line segments of lengths say ell(1),ell(2),...,ell(t), with Sum_{i=1..t} ell(i) = n. Then X = Sum_{i=1..t} floor(ell(i)/2). This result is implicit in the Sun reference. Also, there is a standard bijection from full binary trees on 2n edges to Dyck paths of length 2n: draw tree up from root; walk clockwise around the tree starting at the root; process in turn each edge *that has not previously been traversed*: a left edge becomes an upstep and a right edge becomes a downstep. Translated to Dyck paths using this walkaround bijection, the statistic X becomes the sum, taken over all the ascents A, of floor(length(A)/2). (An ascent is a maximal sequence of contiguous upsteps. Its length is the number of upsteps in it). - David Callan, Jul 22 2008

Examples

			Table begins
  n\k..0....1....2....3....4
  0 |..1
  1 |..1
  2 |..1....1
  3 |..1....4
  4 |..1...10....3
  5 |..1...20...21
  6 |..1...35...84...12
  7 |..1...56..252..120
  8 |..1...84..630..660...55
The ordered trees on 3 edges with 1 node adjacent to a leaf are (drawn down from the root)
   /\..../\....|
   |......|..../\
together with the path of 3 edges; so T(3,1)=4. (Example reworked by _David Callan_, Oct 08 2005)
		

Crossrefs

Programs

  • Maple
    T:=(n,k)->binomial(3*k,k)*binomial(n+k,3*k)/(2*k+1): for n from 0 to 14 do seq(T(n,k),k=0..floor(n/2)) od; # yields sequence in triangular form
  • Mathematica
    Flatten[Table[Binomial[3k,k] Binomial[n+k,3k]/(2k+1),{n,0,20},{k,0,Floor[n/2]}]] (* Harvey P. Dale, May 08 2012 *)

Formula

T(n,k) = binomial(n+1,2k+1) * binomial(n+k,k) / (n+1).
Sum_{k=0..floor(n/2)} T(n,k)*2^k = A049171(n+1). - Philippe Deléham, Dec 08 2009