Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A099890
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A099890 XOR BINOMIAL transform of the odd numbers; also the main diagonal of the XOR difference triangle A099889. +0
2
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; listen)
OFFSET

0,2

FORMULA

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

PROGRAM

(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: A073800 A076813 A049289 this_sequence A137511 A011166 A115341

Adjacent sequences: A099887 A099888 A099889 this_sequence A099891 A099892 A099893

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