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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A144793 Consider the runs of 0's in the binary representation of n, each of these runs being on the edge of the binary representation n and/or being bounded by 1's. Consider also the runs of 1's in the binary representation of n, each of these runs being on the edge of the binary representation n and/or being bounded by 0's. A positive integer n is included in this sequence if the length of the shortest such run of 0's in binary n equals the length of the shortest such run of 1's in binary n. 0

%I

%S 2,5,10,11,12,13,18,20,21,22,23,26,29,34,37,38,40,41,42,43,44,45,46,

%T 47,50,51,52,53,56,58,61,66,69,70,74,75,77,78,80,81,82,83,84,85,86,87,

%U 88,89,90,91,92,93,94,95,98,101,103,104,105,106,107,109,114,115,116,117

%N Consider the runs of 0's in the binary representation of n, each of these runs being on the edge of the binary representation n and/or being bounded by 1's. Consider also the runs of 1's in the binary representation of n, each of these runs being on the edge of the binary representation n and/or being bounded by 0's. A positive integer n is included in this sequence if the length of the shortest such run of 0's in binary n equals the length of the shortest such run of 1's in binary n.

%C This sequence contains those positive integers m where A144789(m) = A144790(m).

%e 1564 in binary is 11000011100. The runs of 0s are like this: 11(0000)111(00). The runs of 1's are like this: (11)0000(111)00. The shortest run of 0's contains two 0's. The shortest run of 1's contains two 1's. Since both the shortest run of 0's and the shortest run of 1's are of the same length, 1564 is included in this sequence.

%Y A090050, A144789, A144790

%K base,nonn

%O 1,1

%A _Leroy Quet_, Sep 21 2008, Oct 07 2008

%E Extended by _Ray Chandler_, Nov 04 2008

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 August 20 19:51 EDT 2019. Contains 326155 sequences. (Running on oeis4.)