Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A099887
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A099887 XOR difference triangle of the powers of 3, read by rows. +0
2
1, 3, 2, 9, 10, 8, 27, 18, 24, 16, 81, 74, 88, 64, 80, 243, 162, 232, 176, 240, 160, 729, 554, 648, 608, 720, 544, 640, 2187, 2642, 2168, 2800, 2192, 2624, 2144, 2784, 6561, 4394, 7032, 4864, 6640, 4448, 6944, 4928, 6560, 19683, 21826, 17512, 24336, 19472 (list; table; graph; listen)
OFFSET

0,2

COMMENT

Main diagonal is A099888, the XOR BINOMIAL transform of the powers of 3. See A099884 for the definition of XOR BINOMIAL transform and for the definition of the XOR difference triangle.

FORMULA

T(n, k) = SumXOR_{i=0..k} (C(k, i)mod 2)*3^i, where SumXOR is the analogue of summation under the binary XOR operation and C(k, i)mod 2 = A047999(k, i).

EXAMPLE

Rows begin:

[1],

[3,2],

[9,10,8],

[27,18,24,16],

[81,74,88,64,80],

[243,162,232,176,240,160],

[729,554,648,608,720,544,640],

[2187,2642,2168,2800,2192,2624,2144,2784],

[6561,4394,7032,4864,6640,4448,6944,4928,6560],

[19683,21826,17512,24336,19472,21984,17536,24480,19680,21824],...

PROGRAM

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

CROSSREFS

Cf. A099884, A047999, A099888.

Sequence in context: A050676 A010372 A152049 this_sequence A038220 A053151 A053088

Adjacent sequences: A099884 A099885 A099886 this_sequence A099888 A099889 A099890

KEYWORD

nonn,tabl

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Oct 28 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified March 20 09:10 EDT 2010. Contains 173642 sequences.


AT&T Labs Research