Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A099895
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A099895 XOR BINOMIAL transform of A000069 (Odious numbers). +0
2
1, 3, 5, 0, 9, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 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, 129 (list; graph; listen)
OFFSET

0,2

COMMENT

See A099884 for the definitions of the XOR BINOMIAL transform and the XOR difference triangle.

FORMULA

a(2^n) = 2^(n+1)+1 for n>0, with a(0)=1, and a(k)=0 otherwise. a(n) = SumXOR_{i=0..n} (C(n, i)mod 2)*A000069(n-i) and SumXOR is summation under XOR.

EXAMPLE

XOR difference triangle of A000069 begins:

[1],

[2,3],

[4,6,5],

[7,3,5,0],

[8,15,12,9,9],

[11,3,12,0,9,0],

[13,6,5,9,9,0,0],

[14,3,5,0,9,0,0,0],

[16,30,29,24,24,17,17,17,17],...

where A000069 is in the left-most column,

and this sequence forms the main diagonal.

PROGRAM

(PARI) {a(n)=local(B); B=0; for(i=0, n, B=bitxor(B, binomial(n, i)%2*A000069(n-i) )); B}

CROSSREFS

Cf. A099884, A000069, A099896.

Sequence in context: A094771 A021885 A021289 this_sequence A124222 A111823 A113039

Adjacent sequences: A099892 A099893 A099894 this_sequence A099896 A099897 A099898

KEYWORD

nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Oct 29 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 | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 21 14:49 EST 2008. Contains 150807 sequences.


AT&T Labs Research