OFFSET
0,8
COMMENTS
A(n, k) is the number of ways of writing n as the sum of k triangular numbers.
LINKS
Seiichi Manyama, Antidiagonals n = 0..139, flattened
FORMULA
G.f. of column k: (Product_{j>0} (1 + x^j) * (1 - x^(2*j)))^k.
EXAMPLE
Square array begins:
1, 1, 1, 1, 1, 1, ...
0, 1, 2, 3, 4, 5, ...
0, 0, 1, 3, 6, 10, ...
0, 1, 2, 4, 8, 15, ...
0, 0, 2, 6, 13, 25, ...
MATHEMATICA
Table[Function[k, SeriesCoefficient[Product[(1 + x^i) (1 - x^(2 i)), {i, Infinity}]^k, {x, 0, n}]][j - n], {j, 0, 12}, {n, 0, j}] // Flatten (* Michael De Vlieger, May 07 2017 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Seiichi Manyama, May 07 2017
STATUS
approved