Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A048644
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A048644 Differences between partial sums of Gray code (A048641) and triangular numbers (A000217). +0
2
0, 0, 1, 0, 2, 4, 3, 0, 4, 8, 13, 16, 14, 12, 7, 0, 8, 16, 25, 32, 42, 52, 59, 64, 60, 56, 53, 48, 38, 28, 15, 0, 16, 32, 49, 64, 82, 100, 115, 128, 148, 168, 189, 208, 222, 236, 247, 256, 248, 240, 233, 224, 218, 212, 203, 192, 172, 152, 133, 112, 86, 60, 31, 0, 32, 64 (list; graph; listen)
OFFSET

0,5

COMMENT

a(2^n-1) = 0 for all n.

FORMULA

a(n) = sum(XORnos(j, floor(j/2)), j=0..n)-((n^2+n)/2).

CROSSREFS

Cf. A000217, A048461, A048643.

Sequence in context: A029589 A121819 A134138 this_sequence A106137 A127651 A019641

Adjacent sequences: A048641 A048642 A048643 this_sequence A048645 A048646 A048647

KEYWORD

easy,nonn

AUTHOR

Antti Karttunen, Jul 14 1999

EXTENSIONS

Corrected by Don Reble (djr(AT)nk.ca), May 01 2006

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research