OFFSET
1,34
EXAMPLE
Array begins:
n\k | 0 1 2 3 4 5 6 7 8 9 10 ...
-------------------------------------------
1 | -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ...
2 | -1 -1 0 1 1 0 -1 -1 0 1 1 ...
3 | -1 -1 -1 0 1 2 2 1 -1 -3 -4 ...
4 | -1 -1 -1 -1 0 1 2 3 3 2 0 ...
5 | -1 -1 -1 -1 -1 0 1 2 3 4 4 ...
6 | -1 -1 -1 -1 -1 -1 0 1 2 3 4 ...
7 | -1 -1 -1 -1 -1 -1 -1 0 1 2 3 ...
8 | -1 -1 -1 -1 -1 -1 -1 -1 0 1 2 ...
9 | -1 -1 -1 -1 -1 -1 -1 -1 -1 0 1 ...
10 | -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 ...
...
MATHEMATICA
f[t_, n_] = If[n == 1, 1/(-1 + t), 1/(-1 + t - t^n)];
a = Table[Table[SeriesCoefficient[Series[f[t, m], {t, 0, 30}], n], {n, 0, 30}], {m, 1, 31}];
Flatten[Table[Table[a[[n - m + 1]][[m]], {m, 1, n }], {n, 1, 15}]]
PROG
(Maxima)(nn : 15, kk : 50)$
gf(n) := taylor(if n = 1 then 1/(1 - x) else 1/(-1 + x - x^n), x, 0, kk)$
T(n, k) := ratcoef(gf(n), x, k)$
create_list(T(n - k, k), n, 1, nn, k, 0, n - 1);
/* Franck Maminirina Ramaharo, Jan 21 2019 */
CROSSREFS
KEYWORD
AUTHOR
Roger L. Bagula and Gary W. Adamson, Oct 01 2008
EXTENSIONS
Edited by Franck Maminirina Ramaharo, Jan 21 2019
STATUS
approved