OFFSET
1,3
LINKS
John Tyler Rascoe, Table of n, a(n) for n = 1..8191
EXAMPLE
184 in binary is 10111001. There are exactly five binary digits (the 2nd, 3rd, and 4th 1's from the left, and the 2nd and 3rd 0's from the left) that are each adjacent to a similar digit. So a(184) = 5.
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Leroy Quet, Sep 14 2009
EXTENSIONS
Extended by Ray Chandler, Mar 13 2010
STATUS
approved