Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A091821
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A091821 a(n) counts the one-bits in the binary representation of n when we cycle from left to right through the individual bits of n, restarting at the leftmost bit after the rightmost is reached, and performing n bitwise steps in total. +0
4
1, 1, 3, 2, 3, 4, 7, 2, 5, 5, 8, 6, 10, 11, 15, 4, 7, 7, 11, 8, 13, 13, 18, 10, 15, 16, 22, 18, 23, 24, 31, 6, 11, 11, 17, 12, 19, 19, 25, 14, 20, 21, 29, 22, 30, 31, 39, 16, 25, 26, 34, 27, 35, 36, 46, 29, 39, 39, 49, 40, 51, 52, 63, 10 (list; graph; listen)
OFFSET

1,3

COMMENT

This might be called the bcrrpsod or binary cyclic right rotating progressive sum of digits function.

EXAMPLE

a(9) = 5 because 9 = 1001 in binary, and cycling from left to right through 9 steps all the bits of 1001 are visited twice but the first bit, which is visited three times. Counting all visited one-bits evaluates to 5.

CROSSREFS

Sequence in context: A035366 A114751 A132408 this_sequence A086035 A003559 A064885

Adjacent sequences: A091818 A091819 A091820 this_sequence A091822 A091823 A091824

KEYWORD

easy,nonn

AUTHOR

Frank Schwellinger (nummer_eins(AT)web.de), Mar 08 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 July 23 17:35 EDT 2008. Contains 142285 sequences.


AT&T Labs Research