OFFSET
1,2
LINKS
William Linz, s-Catalan numbers and Littlewood-Richardson polynomials, arXiv:2110.12095 [math.CO], 2021. See p. 2.
FORMULA
EXAMPLE
The array begins:
n\s | 1 2 3 4 5
----+----------------------------
1 | 1 1 1 1 1 ...
2 | 2 3 4 5 6 ...
3 | 5 15 34 65 111 ...
4 | 14 91 364 1085 2666 ...
5 | 42 603 4269 19845 70146 ...
...
MATHEMATICA
T[n_, k_, s_]:=If[k==0, 1, Coefficient[(Sum[x^i, {i, 0, s}])^n, x^k]]; A[n_, s_]:=T[2n, s n, s]-T[2n, s n+1, s]; Flatten[Table[A[n-s+1, s], {n, 10}, {s, n}]]
PROG
(PARI) T(n, k, s) = polcoef((sum(i=0, s, x^i))^n, k);
A(n, s) = T(2*n, s*n, s) - T(2*n, s*n+1, s); \\ Michel Marcus, Dec 10 2021
CROSSREFS
KEYWORD
AUTHOR
Stefano Spezia, Dec 06 2021
STATUS
approved