OFFSET
0,7
COMMENTS
LINKS
Alois P. Heinz, Rows n = 0..500, flattened
EXAMPLE
Triangle T(n,k) begins:
: n\k : -3 -2 -1 0 1 2 3 ...
+-----+---------------------------
: 0 : 1;
: 1 : 1;
: 2 : 1, 0, 1;
: 3 : 1, 2;
: 4 : 2, 1, 1, 1;
: 5 : 4, 2, 1;
: 6 : 1, 2, 3, 3, 2;
: 7 : 1, 8, 3, 3;
: 8 : 2, 4, 6, 5, 5;
: 9 : 4, 13, 8, 4, 1;
: 10 : 5, 5, 11, 13, 7, 1;
: 11 : 11, 20, 14, 9, 2;
: 12 : 1, 6, 13, 17, 26, 11, 3;
: 13 : 1, 22, 31, 27, 15, 5;
: 14 : 2, 12, 18, 34, 44, 18, 7;
MAPLE
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
expand(b(n, i-1)+add(b(n-i*j, i-1)*x^(2*irem(i, 2)-1), j=1..n/i))))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=ldegree(p)..degree(p)))(b(n$2)):
seq(T(n), n=0..20);
MATHEMATICA
b[n_, i_] := b[n, i] = If[n == 0, 1, If[i < 1, 0, Expand[b[n, i - 1] + Sum[b[n - i*j, i - 1]*x^(2*Mod[i, 2] - 1), {j, 1, n/i}]]]]; T[n_] := Function[p, Table[Coefficient[p, x, i], {i, Exponent[p, x, Min], Exponent[p, x]}]][b[n, n]]; Table[T[n], {n, 0, 20}] // Flatten (* Jean-François Alcover, Dec 12 2016 after Alois P. Heinz *)
CROSSREFS
Columns k=(-10)-10 give: A242682, A242683, A242684, A242685, A242686, A242687, A242688, A242689, A242690, A242691, A241638, A242692, A242693, A242694, A242695, A242696, A242697, A242698, A242699, A242700, A242701.
Row sums give A000041.
KEYWORD
AUTHOR
Alois P. Heinz, May 19 2014
STATUS
approved