A128753 Triangle read by rows: T(n,k) is the number of skew Dyck paths of semilength n and having k UDUDU's (n >= 0; 0 <= k <= n-2 for n >= 2).
1, 1, 3, 9, 1, 31, 4, 1, 113, 19, 4, 1, 431, 86, 21, 4, 1, 1697, 393, 101, 23, 4, 1, 6847, 1800, 492, 116, 25, 4, 1, 28161, 8279, 2388, 596, 131, 27, 4, 1, 117631, 38218, 11603, 3032, 705, 146, 29, 4, 1, 497665, 177013, 56407, 15403, 3732, 819, 161, 31, 4, 1
Offset: 0
Examples
T(4,1)=4 because we have (UDUDU)UDD, (UDUDU)UDL, U(UDUDU)DD and U(UDUDU)DL (the subwords UDUDU are shown between parentheses). Triangle starts 1; 1; 3; 9, 1; 31, 4, 1; 113, 19, 4, 1;
Links
- E. Deutsch, E. Munarini, S. Rinaldi, Skew Dyck paths, J. Stat. Plann. Infer. 140 (8) (2010) 2191-2203.
Programs
-
Maple
C:=z->(1-sqrt(1-4*z))/2/z: G:=C(z*(1+z-t*z)/(1-t*z)): Gser:=simplify(series(G,z=0,15)): for n from 0 to 12 do P[n]:=sort(coeff(Gser,z,n)) od: 1; 1; for n from 2 to 12 do seq(coeff(P[n],t,j),j=0..n-2) od; # yields sequence in triangular form
Comments