OFFSET
0,3
LINKS
Seiichi Manyama, Antidiagonals n = 0..139, flattened
FORMULA
A(n,k) = Sum_{j=0..floor(n/k)} binomial(n+1,k*j+1).
A(n,2*k) = Sum_{i=0..n} Sum_{j=0..n-i} binomial(i,k*j) * binomial(n-i,k*j).
EXAMPLE
Square array begins:
1, 1, 1, 1, 1, 1, 1, 1, 1, ...
3, 2, 2, 2, 2, 2, 2, 2, 2, ...
7, 4, 3, 3, 3, 3, 3, 3, 3, ...
15, 8, 5, 4, 4, 4, 4, 4, 4, ...
31, 16, 10, 6, 5, 5, 5, 5, 5, ...
63, 32, 21, 12, 7, 6, 6, 6, 6, ...
127, 64, 43, 28, 14, 8, 7, 7, 7, ...
255, 128, 86, 64, 36, 16, 9, 8, 8, ...
511, 256, 171, 136, 93, 45, 18, 10, 9, ...
MATHEMATICA
T[n_, k_] := Sum[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
KEYWORD
nonn,tabl
AUTHOR
Seiichi Manyama, Mar 22 2019
STATUS
approved