OFFSET
0,4
COMMENTS
Is there a bijection between the unrestricted compositions of k-1 and compositions of this kind with k parts for k > 0?
LINKS
John Tyler Rascoe, Rows n = 0..70, flattened
John Tyler Rascoe, Python program.
FORMULA
G.f. for k-th column is C(x,k) - (x^k)*C(x,k) for k > 0 where C(x,k) is the g.f of the k-th column of A309938.
EXAMPLE
T(10,4) = 2: (1,2,3,4), (4,3,2,1).
T(10,5) = 2: (2,1,2,3,2), (2,3,2,1,2).
T(10,7) = 1: (1,2,1,2,1,2,1).
Triangle T(n,k) begins:
0;
. 1;
. 0;
. . 2;
. . 0, 1;
. . 0, 1;
. . . 2, 2;
. . . 0, 0, 1;
. . . 0, 4, 1;
. . . 0, 0, 3, 2;
. . . . 2, 2, 0, 1;
...
PROG
(Python) # see linked program
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
John Tyler Rascoe, May 08 2024
STATUS
approved