OFFSET
0,3
LINKS
Seiichi Manyama, Antidiagonals n = 0..139, flattened
FORMULA
A(n,k) = Sum_{j=0..floor(n/k)} (-1)^j * binomial(n+3,k*j+3).
A(n,2*k) = Sum_{i=0..n} Sum_{j=0..n-i} (-1)^j * binomial(i+1,k*j+1) * binomial(n-i+1,k*j+1).
EXAMPLE
Square array begins:
1, 1, 1, 1, 1, 1, 1, 1, 1, ...
3, 4, 4, 4, 4, 4, 4, 4, 4, ...
6, 9, 10, 10, 10, 10, 10, 10, 10, ...
10, 14, 19, 20, 20, 20, 20, 20, 20, ...
15, 15, 28, 34, 35, 35, 35, 35, 35, ...
21, 8, 28, 48, 55, 56, 56, 56, 56, ...
28, -7, 1, 48, 75, 83, 84, 84, 84, ...
36, -22, -80, 0, 75, 110, 119, 120, 120, ...
45, -21, -242, -164, 0, 110, 154, 164, 165, ...
MATHEMATICA
T[n_, k_] := Sum[(-1)^j * Binomial[n+3, k*j + 3], {j, 0, Floor[n/k]}]; Table[T[n - k, k], {n, 0, 12}, {k, n, 1, -1}] // Flatten (* Amiram Eldar, May 20 2021 *)
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Seiichi Manyama, Apr 07 2019
STATUS
approved