login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A296701
Numbers whose base-6 digits d(m), d(m-1), ... d(0) have #(rises) > #(falls); see Comments.
4
8, 9, 10, 11, 15, 16, 17, 22, 23, 29, 44, 45, 46, 47, 50, 51, 52, 53, 57, 58, 59, 64, 65, 71, 87, 88, 89, 93, 94, 95, 100, 101, 107, 130, 131, 136, 137, 143, 173, 179, 224, 225, 226, 227, 231, 232, 233, 238, 239, 245, 260, 261, 262, 263, 266, 267, 268, 269
OFFSET
1,1
COMMENTS
A rise is an index i such that d(i) < d(i+1); a fall is an index i such that d(i) > d(i+1). The sequences A296700-A296702 partition the natural numbers. See the guide at A296712.
LINKS
EXAMPLE
The base-6 digits of 269 are 1, 1, 2, 5; here #(rises) = 2 and #(falls) = 0, so 269 is in the sequence.
MATHEMATICA
z = 200; b = 6; d[n_] := Sign[Differences[IntegerDigits[n, b]]];
Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296700 *)
Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &] (* A296701 *)
Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &] (* A296702 *)
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Jan 07 2018
STATUS
approved