

A164713


A positive integer n is included if all runs of 0's in binary n are of the same length, and if all runs of 1's in binary n are of the same length.


1



1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 21, 24, 27, 28, 30, 31, 32, 33, 36, 42, 48, 51, 54, 56, 60, 62, 63, 64, 65, 73, 85, 96, 99, 112, 119, 120, 124, 126, 127, 128, 129, 136, 170, 192, 195, 204, 219, 224, 231, 238, 240, 248, 252, 254, 255, 256, 257, 273
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Clarification: A binary number consists of "runs" completely of 1's alternating with runs completely of 0's. No two or more runs all of the same digit are adjacent.
The length of each run of 1's may be different that the length of each run of 0's.
This sequence contains those positive integers in both sequence A164707 and sequence A164710.
For those integers in this sequence that each have at least two runs of 0's and at least two runs of 1's, see sequence A164714.


LINKS



CROSSREFS



KEYWORD

base,nonn


AUTHOR



EXTENSIONS



STATUS

approved



