OFFSET
1,2
COMMENTS
For n > 1 the structure of digits of numbers written in base 2 represents a valley. The first digit is equal to the last digit (1). The first digits are in nonincreasing order. The last digits are in nondecreasing order. The numbers may have more than one 0 digit. Sequence is infinite.
See A193415: numbers m written in base 2: {1, 11, 101, 111, 1001, 1011, 1101, 1111, ...}.
EXAMPLE
Illustration using 67 = 1000011_2:
1 . . . . 1 1
. 0 0 0 0 . .
MATHEMATICA
Select[Range[300], MemberQ[{1, 3}, Length[Split[IntegerDigits[#, 2]]]] &] (* T. D. Noe, Jul 26 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Jul 25 2011
EXTENSIONS
First term corrected by Jaroslav Krizek, Jul 27 2011
STATUS
approved