Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A099886
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A099886 XOR binomial transform of A099885. +0
2
1, 3, 7, 9, 21, 63, 107, 189, 273, 819, 1911, 2457, 5189, 15567, 28123, 46701, 65793, 197379, 460551, 592137, 1381653, 4144959, 7039851, 12434877, 17829905, 53489715, 124809335, 160469145, 340873541, 1022620623, 1840690907 (list; graph; listen)
OFFSET

0,2

COMMENT

Many terms of this sequence are equal to 3 times another term! Why? The XOR BINOMIAL transform of this sequence is A099885. A099885 is the central terms of the rows of the XOR difference triangle of the powers of 2 (A099884).

FORMULA

a(n) = SumXOR_{k=0..n} SumXOR_{i=0..k\2} (C(n, k)mod 2)*(C(k\2, i)mod 2)*2^((k+1)\2+k\2-i), where the SumXOR is the analogue of summation under XOR.

PROGRAM

(PARI) {a(n)=local(B); B=0; for(k=0, n, for(i=0, k\2, B=bitxor(B, binomial(n, k)%2*binomial(k\2, i)%2*2^((k+1)\2+k\2-i) ))); B}

CROSSREFS

Cf. A099884, A001317, A099885.

Sequence in context: A018458 A029539 A018267 this_sequence A118564 A098338 A033958

Adjacent sequences: A099883 A099884 A099885 this_sequence A099887 A099888 A099889

KEYWORD

nonn

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