Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A145895
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A145895 Triangle read by rows: T(n,k) is the number of Dyck paths of semilength n and having k UDU and DUD's (here U=(1,1), D=(1,-1); 0<=k<=2n-2). +0
1
1, 1, 0, 1, 1, 2, 1, 0, 1, 2, 4, 2, 4, 1, 0, 1, 4, 8, 10, 8, 4, 6, 1, 0, 1, 8, 20, 26, 24, 25, 12, 7, 8, 1, 0, 1, 17, 48, 70, 84, 70, 54, 47, 16, 11, 10, 1, 0, 1, 37, 116, 197, 244, 241, 224, 141, 104, 76, 20, 16, 12, 1, 0, 1, 82, 286, 535, 728, 816, 734, 609, 472, 246, 180, 112, 24, 22 (list; graph; listen)
OFFSET

0,6

COMMENT

Row n contains 2n-1 entries (n>=1).

Row sums are the Catalan numbers (A000108).

T(n,0)=A004148(n-1) (the 2ndary structure numbers).

Sum(k*T(n,k),k=0..2n-2)=2*binom(2n-2,n-2)=2*A001791(n-1).

FORMULA

G.f. = c(z/[1+(1-t^2)z+(1-t)^2*z^2]), where c(z)=[1-sqrt(1-4z)](2z) is the g.f. of the Catalan numbers (A000108).

The trivariate g.f., with z marking semilength, t marking number of UDU's and s marking number of DUD's is c(z/[1+(1-ts)z+(1-t)(1-s)z^2]), where c(z)=[1-sqrt(1-4z)](2z) is the g.f. of the Catalan numbers (A000108).

EXAMPLE

T(4,3)=4 because we have UDUDUUDD, UUDDUDUD, UDUUDUDD and UUDUDDUD.

Triangle starts:

1;

1;

1,0,1;

1,2,1,0,1;

2,4,2,4,1,0,1;

4,8,10,8,4,6,1,0,1;

MAPLE

c := proc (z) options operator, arrow: (1/2-(1/2)*sqrt(1-4*z))/z end proc: G := c(z/(1+(1-t^2)*z+(1-t)^2*z^2)): Gser := simplify(series(G, z = 0, 12)): for n from 0 to 9 do P[n] := sort(coeff(Gser, z, n)) end do: 1; for n to 9 do seq(coeff(P[n], t, k), k = 0 .. 2*n-2) end do; # yields sequence in triangular form

CROSSREFS

A000108, A004148, A001791

Sequence in context: A022958 A023444 A136868 this_sequence A114503 A103528 A138352

Adjacent sequences: A145892 A145893 A145894 this_sequence A145896 A145897 A145898

KEYWORD

nonn,tabf

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Dec 10 2008

page 1

Search completed in 0.003 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 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research