A128745 Triangle read by rows: T(n,k) is the number of skew Dyck paths of semilength n and having height of the last peak equal to k (1 <= k <= n).
1, 1, 2, 2, 4, 4, 6, 10, 12, 8, 21, 32, 36, 32, 16, 79, 116, 124, 112, 80, 32, 311, 448, 468, 416, 320, 192, 64, 1265, 1800, 1860, 1640, 1280, 864, 448, 128, 5275, 7440, 7640, 6720, 5280, 3712, 2240, 1024, 256, 22431, 31426, 32136, 28256, 22336, 16032, 10304
Offset: 1
Examples
T(3,2)=4 because we have UDUUDD, UDUUDL, UUDUDD and UUDUDL. Triangle starts: 1; 1, 2; 2, 4, 4; 6, 10, 12, 8; 21, 32, 36, 32, 16;
Links
- E. Deutsch, E. Munarini, S. Rinaldi, Skew Dyck paths, J. Stat. Plann. Infer. 140 (8) (2010) 2191-2203.
Programs
-
Maple
g:=(1-z-sqrt(1-6*z+5*z^2))/2/z: G:=t*z/(1-2*t*z-z*g): Gser:=simplify(series(G,z=0,15)): for n from 1 to 11 do P[n]:=sort(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
Formula
G.f.: t*z/(1 - z*g - 2*t*z), where g = 1 + z*g^2 + z*(g-1) = (1 - z - sqrt(1 - 6z + 5z^2))/(2z).
Comments