OFFSET
0,10
LINKS
Alois P. Heinz, Rows n = 0..360, flattened
Wikipedia, Bitwise operation
Wikipedia, Partition (number theory)
FORMULA
T(n,k) = 0 if n+k is odd.
EXAMPLE
Triangle T(n,k) begins:
1;
0, 1;
0, 0, 1;
0, 0, 0, 2;
0, 0, 1, 0, 1;
0, 1, 0, 0, 0, 2;
1, 0, 0, 0, 1, 0, 2;
0, 0, 0, 0, 0, 0, 0, 5;
0, 0, 0, 0, 1, 0, 4, 0, 1;
0, 1, 0, 0, 0, 4, 0, 1, 0, 2;
1, 0, 1, 0, 5, 0, 0, 0, 1, 0, 2;
...
MAPLE
b:= proc(n, i, k) option remember; `if`(n=0, x^k, `if`(i<1, 0,
b(n, i-1, k)+b(n-i, min(n-i, i-1), Bits[Xor](i, k))))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=0..n))(b(n$2, 0)):
seq(T(n), n=0..14);
CROSSREFS
AUTHOR
Alois P. Heinz, Apr 11 2019
STATUS
approved