OFFSET
0,16
COMMENTS
FORMULA
Generating polynomial of row n is P_n(q) = (q/(1-q^2))^n*Product_{j=1..n}(1-q^(4j-2)).
EXAMPLE
T(3,11)=3 because we have 465132, 546213, and 632541.
Triangle starts:
1;
0, 1;
0, 0, 1, 0, 1, 0, 1;
0, 0, 0, 1, 0, 2, 0, 3, 0, 3, 0, 3, 0, 2, 0, 1;
MAPLE
f := proc (n) options operator, arrow: q^n*(product(1-q^(4*j-2), j = 1 .. n))/(1-q^2)^n end proc: for n from 0 to 4 do P[n] := sort(expand(simplify(f(n)))) end do: for n from 0 to 4 do seq(coeff(P[n], q, j), j = 0 .. n*(2*n-1)) end do; # yields sequence in triangular form
MATHEMATICA
P[n_] := P[n] = q^n*Product[1 - q^(4j - 2), {j, 1, n}]/(1 - q^2)^n // Expand // Simplify;
T[n_, k_] := Coefficient[P[n], q, k];
Table[T[n, k], {n, 0, 5}, {k, 0, n (2n - 1)}] // Flatten (* Jean-François Alcover, Aug 23 2024 *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, Jun 05 2009
STATUS
approved