[go: up one dir, main page]

login
Search: a099901 -id:a099901
     Sort: relevance | references | number | modified | created      Format: long | short | data
Multiplies by 2 and shifts right under the XOR BINOMIAL transform (A099901).
+20
5
1, 3, 7, 11, 23, 59, 103, 139, 279, 827, 1895, 2955, 5655, 14395, 24679, 32907, 65815, 197435, 460647, 723851, 1512983, 3881019, 6774887, 9142411, 18219287, 54002491, 123733863, 192940939, 369104407, 939538491, 1610637415, 2147516555
OFFSET
0,2
COMMENTS
Equals the XOR BINOMIAL transform of A099901. Also, equals the main diagonal of the XOR difference triangle A099900, in which the central terms of the rows form the powers of 2.
Bisection of A101624. - Paul Barry, May 10 2005
LINKS
FORMULA
a(n) = SumXOR_{k=0..n} (binomial(n-k+floor(k/2), floor(k/2)) mod 2)*2^k for n >= 0.
a(n) = SumXOR_{i=0..n} (C(n, i) mod 2)*A099901(n-i), where SumXOR is the analog of summation under the binary XOR operation and C(i, j) mod 2 = A047999(i, j).
a(n) = Sum_{k=0..n} A047999(n-k+floor(k/2), floor(k/2)) * 2^k.
From Paul Barry, May 10 2005: (Start)
a(n) = Sum_{k=0..2n} (binomial(k, 2n-k) mod 2)*2^(2n-k);
a(n) = Sum_{k=0..n} (binomial(2n-k, k) mod 2)*2^k. (End)
a(n) = Sum_{k=0..2n} A106344(2n,k)*2^(2n-k). - Philippe Deléham, Dec 18 2008
MAPLE
a:= n -> add((binomial(n-k+floor(k/2), floor(k/2)) mod 2)*2^k, k=0..n):
map(a, [$0..100]); # Robert Israel, Jan 24 2016
PROG
(PARI) {a(n)=local(B); B=0; for(k=0, n, B=bitxor(B, binomial(n-k+k\2, k\2)%2*2^k)); B}
(PARI) a(n)=sum(k=0, n, binomial(n-k+k\2, k\2)%2*2^k)
CROSSREFS
KEYWORD
eigen,nonn
AUTHOR
Paul D. Hanna, Oct 30 2004
STATUS
approved
XOR difference triangle, read by rows, of A099901 (in leftmost column) such that the main diagonal equals A099901 shift left and divided by 2.
+20
3
1, 2, 3, 6, 4, 7, 14, 8, 12, 11, 22, 24, 16, 28, 23, 46, 56, 32, 48, 44, 59, 118, 88, 96, 64, 112, 92, 103, 206, 184, 224, 128, 192, 176, 236, 139, 278, 472, 352, 384, 256, 448, 368, 412, 279, 558, 824, 736, 896, 512, 768, 704, 944, 556, 827, 1654, 1112, 1888, 1408
OFFSET
0,2
COMMENTS
Central terms of rows equal powers of 2: T(n,[n/2]) = 2^n for n>=0. The leftmost column is A099901. The diagonal forms A099902 and equals the XOR BINOMIAL transform of A099901.
FORMULA
T(n, [n/2]) = 2^n. T(n+1, 0) = 2*T(n, n) (n>=0); T(0, 0)=1; T(n, k) = T(n, k-1) XOR T(n-1, k-1) for n>k>0. T(n, k) = SumXOR_{i=0..k} (C(k, i)mod 2)*T(n-i, 0), where SumXOR is the analog of summation under the binary XOR operation and C(k, i)mod 2 = A047999(k, i).
EXAMPLE
Rows begin:
[_1],
[_2,3],
[6,_4,7],
[14,_8,12,11],
[22,24,_16,28,23],
[46,56,_32,48,44,59],
[118,88,96,_64,112,92,103],
[206,184,224,_128,192,176,236,139],
[278,472,352,384,_256,448,368,412,279],
[558,824,736,896,_512,768,704,944,556,827],
[1654,1112,1888,1408,1536,_1024,1792,1472,1648,1116,1895],...
notice that the column terms equal twice the diagonal (with offset), and that the central terms in the rows form the powers of 2.
PROG
(PARI) T(n, k)=if(n<k || k<0, 0, if(k==0, if(n==0, 1, 2*T(n-1, n-1)), bitxor(T(n, k-1), T(n-1, k-1))); )
CROSSREFS
KEYWORD
eigen,nonn,tabl
AUTHOR
Paul D. Hanna, Oct 29 2004
STATUS
approved

Search completed in 0.010 seconds