OFFSET
1,3
COMMENTS
We take T(n,0) = 0 for the calculation.
Every column is periodic. It appears that, if 2^j > k, column k has period 2^j. If so, then for j >= i, T(2^j,2^i) = 2^i and T(2^j,k) = 0 if k is not a power of 2.
EXAMPLE
The table starts:
1
1, 2
1, 3, 3
1, 2, 0, 4
1, 3, 2, 4, 5
1, 2, 1, 6, 1, 6
1, 3, 3, 7, 7, 7, 7
PROG
(PARI) anrow(n)=local(r, v); r=v=[1]; for(k=2, n, v=vector(#v+1, j, if(j==k, k, bitxor(v[j], if(j==1, 0, v[j-1])))); r=concat(r, v)); r
CROSSREFS
KEYWORD
AUTHOR
Franklin T. Adams-Watters, Sep 25 2011
STATUS
approved