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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099890 XOR BINOMIAL transform of the odd numbers; also the main diagonal of the XOR difference triangle A099889. 1
1, 2, 4, 0, 8, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 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, 128 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..64.

FORMULA

a(0) = 1; a(2^n) = 2^(n+1); a(n) = 0 otherwise.

PROG

(PARI) a(n)=local(B); B=0; for(i=0, n, B=bitxor(B, binomial(n, i)%2*(2*(n-i)+1))); B

CROSSREFS

Cf. A099884, A099889.

Sequence in context: A076813 A049289 A258053 * A208745 A137511 A011166

Adjacent sequences:  A099887 A099888 A099889 * A099891 A099892 A099893

KEYWORD

nonn

AUTHOR

Paul D. Hanna, Oct 29 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 June 24 17:50 EDT 2019. Contains 324330 sequences. (Running on oeis4.)