login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A279210 Length of second run of 1's in binary expansion of n. 3
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, 0, 1, 0, 0, 0, 1, 1, 2, 1, 1, 2, 3, 0, 1, 1, 2, 0, 1, 0, 0, 0, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 1, 2, 2, 3, 4, 0, 1, 1, 2, 1, 1, 2, 3, 0, 1, 1, 2, 0, 1, 0, 0, 0, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 1, 2, 2, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 5, 0, 1, 1, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,12

LINKS

Michael De Vlieger, Table of n, a(n) for n = 0..10000

FORMULA

a(2*n) = a(n). - David A. Corneth, Oct 12 2018

EXAMPLE

46 = 101110_2 so a(46) = 3.

MATHEMATICA

Table[First[Map[Length, Rest@ DeleteCases[#, w_ /; First@ w == 0] &@ Split@ IntegerDigits[n, 2]] /. {} -> {0}], {n, 100}] (* Michael De Vlieger, Dec 23 2016 *)

CROSSREFS

Cf. A090996, A279209.

Sequence in context: A285640 A231189 A219558 * A232243 A034876 A091393

Adjacent sequences:  A279207 A279208 A279209 * A279211 A279212 A279213

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, Dec 22 2016

EXTENSIONS

More terms from Michael De Vlieger, Dec 23 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 01:52 EDT 2019. Contains 327207 sequences. (Running on oeis4.)