A128727 Triangle read by rows: T(n,k) is the number of skew Dyck paths of semilength n having k DDU and LDU's.
1, 1, 3, 9, 1, 27, 9, 81, 54, 2, 243, 270, 30, 729, 1215, 270, 5, 2187, 5103, 1890, 105, 6561, 20412, 11340, 1260, 14, 19683, 78732, 61236, 11340, 378, 59049, 295245, 306180, 85050, 5670, 42, 177147, 1082565, 1443420, 561330, 62370, 1386, 531441
Offset: 0
Examples
T(5,2)=2 because we have UU(DDU)U(DDU)D and UUU(DDU)(DDU)D (the 2 subwords are shown between parentheses). Triangle starts: 1; 1; 3; 9, 1; 27, 9; 81, 54, 2; 243, 270, 30; 729, 1215, 270, 5;
Links
- E. Deutsch, E. Munarini, S. Rinaldi, Skew Dyck paths, J. Stat. Plann. Infer. 140 (8) (2010) 2191-2203
Programs
-
Maple
T:=(n,k)->3^(n-1-2*k)*binomial(n,k)*binomial(n-k,k+1)/n: 1; for n from 1 to 13 do seq(T(n,k),k=0..floor((n-1)/2)) od; # yields sequence in triangular form
Comments