OFFSET
0,5
LINKS
Seiichi Manyama, Antidiagonals n = 0..139, flattened
FORMULA
A(n,k) = Sum_{j=0..floor(n/k)} (-1)^j * binomial(n+1,k*j+1).
A(n,2*k) = Sum_{i=0..n} Sum_{j=0..n-i} (-1)^j * binomial(i,k*j) * binomial(n-i,k*j).
EXAMPLE
Square array begins:
1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 2, 2, 2, 2, 2, 2, 2, 2, ...
1, 2, 3, 3, 3, 3, 3, 3, 3, ...
1, 0, 3, 4, 4, 4, 4, 4, 4, ...
1, -4, 0, 4, 5, 5, 5, 5, 5, ...
1, -8, -9, 0, 5, 6, 6, 6, 6, ...
1, -8, -27, -14, 0, 6, 7, 7, 7, ...
1, 0, -54, -48, -20, 0, 7, 8, 8, ...
1, 16, -81, -116, -75, -27, 0, 8, 9, ...
MATHEMATICA
T[n_, k_] := Sum[(-1)^j * Binomial[n+1, k*j+1], {j, 0, Floor[n/k]}]; Table[T[n-k, k], {n, 0, 12}, {k, n, 1, -1}] // Flatten (* Amiram Eldar, May 20 2021 *)
CROSSREFS
AUTHOR
Seiichi Manyama, Mar 22 2019
STATUS
approved