Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A043276
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A043276 a(n)=maximal run length in base 2 representation of n. +0
3
1, 1, 2, 2, 1, 2, 3, 3, 2, 1, 2, 2, 2, 3, 4, 4, 3, 2, 2, 2, 1, 2, 3, 3, 2, 2, 2, 3, 3, 4, 5, 5, 4, 3, 3, 2, 2, 2, 3, 3, 2, 1, 2, 2, 2, 3, 4, 4, 3, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 5, 6, 6, 5, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 3, 4, 4, 3, 2, 2, 2, 1, 2, 3, 3, 2, 2, 2, 3, 3, 4, 5, 5, 4, 3, 3, 2, 2, 2, 3, 3, 2 (list; graph; listen)
OFFSET

1,3

COMMENT

First occurrence of k is when n=2^k-1 and there is no last occurrence. [From Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 14 2008]

MATHEMATICA

f[n_] := Max @@ Length /@ Split@IntegerDigits[n, 2]; Array[f, 105] [From Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 14 2008]

CROSSREFS

Sequence in context: A134658 A106580 A165915 this_sequence A064742 A167489 A106638

Adjacent sequences: A043273 A043274 A043275 this_sequence A043277 A043278 A043279

KEYWORD

nonn,base

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu)

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 14 2008

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 24 19:42 EST 2009. Contains 167435 sequences.


AT&T Labs Research