OFFSET
0,3
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.
LINKS
E. Deutsch, E. Munarini, S. Rinaldi, Skew Dyck paths, J. Stat. Plann. Infer. 140 (8) (2010) 2191-2203
FORMULA
EXAMPLE
T(3,1)=5 because we have UDUUDL, UUUDLD, UUDUDL, UUUDDL and UUUDLL (the other 5 paths of semilength 3 are Dyck paths which, obviously, contain no DL's).
Triangle starts:
1;
1;
2, 1;
5, 5;
14, 21, 1;
42, 84, 11;
132, 330, 80, 1;
MAPLE
eq:=z^2*G^3-z*(2-z)*G^2+(1-t*z^2)*G-1+z=0:
G:=RootOf(eq, G): Gser:=simplify(series(G, z=0, 17)):
for n from 0 to 13 do P[n]:=sort(coeff(Gser, z, n)) od:
for n from 0 to 13 do seq(coeff(P[n], t, j), j=0..floor(n/2)) od;
# yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, Mar 31 2007
STATUS
approved