login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101122 XOR BINOMIAL transform of A101119. 3
7, 17, 0, 34, 0, 0, 0, 68, 0, 0, 0, 0, 0, 0, 0, 159, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 514, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Nonzero terms form A101121 and occur at positions 2^k for k >= 0. A101119 equals the nonzero differences of A006519 and A003484. See A099884 for the definition of the XOR BINOMIAL transform.

LINKS

Table of n, a(n) for n=1..101.

FORMULA

a(n) = SumXOR_{k=0..n} (C(n, k) mod 2)*A101119(k), where SumXOR is summation under XOR. A101119(n) = SumXOR_{k=0..n} (C(n, k) mod 2)*a(k). a(2^(n-1)) = A101121(n) for n >= 1 and a(k)=0 when k is not a power of 2.

PROG

(PARI) {a(n)=local(B); B=0; for(i=0, n-1, B=bitxor(B, binomial(n-1, i)%2* (16*2^valuation(n-i, 2)-2^(valuation(n-i, 2)%4)-8*(valuation(n-i, 2)\4)-8))); B}

CROSSREFS

Cf. A003484, A006519, A101119, A101120, A101121.

Sequence in context: A181777 A129422 A184062 * A090535 A107778 A122735

Adjacent sequences:  A101119 A101120 A101121 * A101123 A101124 A101125

KEYWORD

nonn

AUTHOR

Simon Plouffe and Paul D. Hanna, Dec 02 2004

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 15:03 EDT 2019. Contains 328030 sequences. (Running on oeis4.)