Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126181
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126181 Triangle read by rows: T(n,k) is the number of hex trees with n edges and k nodes having median children (i.e. k vertical edges; 0<=k<=n). A hex tree is a rooted tree where each vertex has 0, 1, or 2 children and, when only one child is present, it is either a left child, or a median child, or a right child (name due to an obvious bijection with certain tree-like polyhexes; see the Harary-Read paper). +0
2
1, 2, 1, 5, 4, 1, 14, 15, 6, 1, 42, 56, 30, 8, 1, 132, 210, 140, 50, 10, 1, 429, 792, 630, 280, 75, 12, 1, 1430, 3003, 2772, 1470, 490, 105, 14, 1, 4862, 11440, 12012, 7392, 2940, 784, 140, 16, 1, 16796, 43758, 51480, 36036, 16632, 5292, 1176, 180, 18, 1, 58786 (list; table; graph; listen)
OFFSET

0,2

COMMENT

Sum of terms in row n = A002212(n+1). T(n,0)=A000108(n+1) (the Catalan numbers). Sum(kT(n,k),k=0..n)=A026376(n).

Also, with offset 1, triangle read by rows: T(n,k) is the number of skew Dyck paths of semilength n and having k left steps (n>=1; 0<=k<=n-1). A skew Dyck path is a path in the first quadrant which begins at the origin, ends on the x-axis, consists of steps U=(1,1)(up), D=(1,-1)(down) and L=(-1,-1)(left) so that up and left steps do not overlap. The length of a path is defined to be the number of its steps. For example, T(4,2)=6 because we have UDUUUDLL, UUUUDLLD, UUDUUDLL, UUUUDLDL, UUUDUDLL and UUUUDDLL.

Also, with offset 1, number of skew Dyck paths of semilength and having k UDU's. Example: T(3,1)=4 because we have (UDU)UDD, (UDU)UDL, U(UDU)DD and U(UDU)DL (the UDU's are shown between parentheses). Row sums yield A002212. T(n,0)=binom(2n,n)/(n+1)=A000108(n) (the Catalan numbers). Sum(k*T(n,k),k=0..n-1)=A026376(n-1). Mirror image of A108198.

REFERENCES

F. Harary and R. C. Read, The enumeration of tree-like polyhexes, Proc. Edinburgh Math. Soc. (2) 17 (1970), 1-13.

FORMULA

T(n,k)=binomial(n,k)*c(n-k+1), where c(m)=binom(2m,m)/(m+1) is a Catalan number (A000108). Proof: There are c(n-k+1) binary trees with n-k edges. We can insert k vertical edges at the n-k+1 vertices (repetitions possible) in binom(n-k+1+k-1,k)=binom(n,k) ways. G.f.=G=G(t,z) satisfies G=1+(2+t)zG+z^2*G^2.

1/(1-xy-2x-x^2/(1-xy-2x-x^2/(1-xy-2x-x^2/(1-xy-2x-x^2/(1-... (continued fraction). [From Paul Barry (pbarry(AT)wit.ie), Jan 28 2009]

EXAMPLE

Triangle starts:

1;

2,1;

5,4,1;

14,15,6,1;

42,56,30,8,1;

MAPLE

c:=n->binomial(2*n, n)/(n+1): T:=proc(n, k) if k<=n then binomial(n, k)*c(n-k+1) else 0 fi end: for n from 0 to 10 do seq(T(n, k), k=1..n) od; # yields sequence in triangular form

CROSSREFS

Cf. A002212, A000108, A026376, A108198.

Sequence in context: A104710 A039598 A128738 this_sequence A154930 A104259 A137650

Adjacent sequences: A126178 A126179 A126180 this_sequence A126182 A126183 A126184

KEYWORD

nonn,tabl

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Dec 19 2006, Mar 30 2007

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com) at the suggestion of Andrew Plewe, Jun 13 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research