OFFSET
0,18
COMMENTS
FORMULA
T(n, k) = floor(A097805(n, k) / k!).
EXAMPLE
Triangle T(n, k) starts:
[0] [1]
[1] [0, 1]
[2] [0, 1, 0]
[3] [0, 1, 1, 0]
[4] [0, 1, 1, 0, 0]
[5] [0, 1, 2, 1, 0, 0]
[6] [0, 1, 2, 1, 0, 0, 0]
[7] [0, 1, 3, 2, 0, 0, 0, 0]
[8] [0, 1, 3, 3, 1, 0, 0, 0, 0]
[9] [0, 1, 4, 4, 2, 0, 0, 0, 0, 0]
MAPLE
T := (n, k) -> iquo(binomial(n - 1, k - 1), k!):
seq(print(seq(T(n, k), k = 0..n)), n = 0..9);
PROG
(SageMath)
R = PowerSeriesRing(ZZ, "x")
x = R.gen().O(33)
@cached_function
def p(n) -> Polynomial:
if n == 0: return R(1)
return sum(p(n - k) * x for k in range(1, n + 1))
def A362370_row(n) -> list[int]:
L = p(n).list()
return [L[k] // factorial(k) for k in range(n + 1)]
for n in range(10):
print(A362370_row(n))
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Peter Luschny, Apr 17 2023
STATUS
approved