login
The OEIS is supported by the many generous donors 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

%I #6 Sep 07 2016 13:21:20

%S 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,

%T 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

%N XOR BINOMIAL transform of the odd numbers; also the main diagonal of the XOR difference triangle A099889.

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

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

%Y Cf. A099884, A099889.

%K nonn

%O 0,2

%A _Paul D. Hanna_, Oct 29 2004

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)