OFFSET
0,2
EXAMPLE
Triangle A099884 begins:
1;
2, 3;
4, 6, 5;
8, 12, 10, 15;
16, 24, 20, 30, 17;
32, 48, 40, 60, 34, 51;
64, 96, 80, 120, 68, 102, 85;
128, 192, 160, 240, 136, 204, 170, 255;
256, 384, 320, 480, 272, 408, 340, 510, 257; ...
where terms in any column are formed from the XOR operation between
adjacent terms of the prior column, with column 0 being powers of 2.
PROG
(PARI) {a(n)=local(B, RS=0); for(k=0, n, B=0; for(i=0, k, B=bitxor(B, binomial(k, i)%2*2^(n-i))); RS+=B); RS}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Apr 11 2009
STATUS
approved