login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A129159 Triangle read by rows: T(n,k) is the number of skew Dyck paths of semilength n and having abscissa of the first return to the x-axis equal to 2k (1 <= k <= n). 1
1, 2, 1, 4, 4, 2, 11, 9, 11, 5, 37, 21, 31, 34, 14, 138, 59, 76, 116, 112, 42, 544, 198, 198, 315, 448, 384, 132, 2220, 743, 599, 825, 1358, 1758, 1353, 429, 9286, 2964, 2091, 2345, 3724, 5922, 6963, 4862, 1430, 39588, 12251, 8026, 7604, 10388, 17304, 25872 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
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 the path is defined to be the number of its steps.
Row sums yield A002212.
T(n,1) = 1 + A002212(n-1) (indeed, the path U^nDL^(n-1) and the paths UDP, where P is a skew Dyck path of semilength n-1).
T(n,n) = binomial(2n-2,n-1)/n = A000108(n-1) (the Catalan numbers).
LINKS
E. Deutsch, E. Munarini, S. Rinaldi, Skew Dyck paths, J. Stat. Plann. Infer. 140 (8) (2010) 2191-2203.
FORMULA
Sum_{k=1..n} k*T(n,k) = A129160(n).
G.f.: tzhg + z(h-1), where g = 1 + zg^2 + z(g-1) = (1 - z - sqrt(1 - 6z + 5z^2)) and h = 1 + tzh^2 + z(h-1) (h = h(t,z) is the g.f. for skew Dyck paths according to the semi-abscissa of the last point on the x-axis and semilength; see A108198).
EXAMPLE
T(3,2)=4 because we have UUDDUD, UUUDLD, UUDUDL and UUUDDL.
Triangle starts:
1;
2, 1;
4, 4, 2;
11, 9, 11, 5;
37, 21, 31, 34, 14;
MAPLE
g:=(1-z-sqrt(1-6*z+5*z^2))/2/z: h:=(1-z-sqrt(z^2-2*z+1+4*t*z^2-4*t*z))/2/t/z: G:=t*z*h*g+z*(h-1): Gser:=simplify(series(G, z=0, 14)): for n from 1 to 11 do P[n]:=sort(expand(coeff(Gser, z, n))) od: for n from 1 to 11 do seq(coeff(P[n], t, j), j=1..n) od; # yields sequence in triangular form
CROSSREFS
Sequence in context: A051289 A134308 A090802 * A095830 A193915 A101621
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Apr 03 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)