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!)
A099888 XOR BINOMIAL transform of the powers of 3. 2

%I #8 May 09 2023 18:30:00

%S 1,2,8,16,80,160,640,2784,6560,21824,65280,131072,524800,1056192,

%T 4201728,8408000,43046720,86135424,361186816,1467183104,3443838080,

%U 11367226112,32550397696,70111011712,282403304960,569106797952

%N XOR BINOMIAL transform of the powers of 3.

%C The diagonal of the XOR difference triangle A099887. The XOR BINOMIAL transform of this sequence returns the powers of 3. See A099884 for the definitions of the XOR BINOMIAL transform and the XOR difference triangle.

%H Paul D. Hanna, <a href="/A099888/b099888.txt">Table of n, a(n) for n = 0..1024</a>

%F a(n) = SumXOR_{k=0..n} (C(n, k) mod 2)*3^k, where SumXOR is summation under XOR.

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

%Y Cf. A099884, A099887.

%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 23 06:04 EDT 2024. Contains 371906 sequences. (Running on oeis4.)