Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A165317
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A165317 a(n) = the number of digits in the binary representation of n that each do not precede or follow a similarly valued digit. +0
2
1, 2, 0, 1, 3, 1, 0, 1, 2, 4, 2, 0, 2, 1, 0, 1 (list; graph; listen)
OFFSET

1,2

COMMENT

A165316(n) + A165317(n) = the number of digits in the binary representation of n.

EXAMPLE

184 in binary is 10111001. There are exactly three binary digits (the first and last 1's, and the leftmost 0) that are each not adjacent to to a similar digit. So, a(184) = 3.

CROSSREFS

A165316

Sequence in context: A060318 A089994 A100260 this_sequence A124943 A099557 A079217

Adjacent sequences: A165314 A165315 A165316 this_sequence A165318 A165319 A165320

KEYWORD

base,more,nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Sep 14 2009

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 December 10 00:48 EST 2009. Contains 170565 sequences.


AT&T Labs Research