login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A296700 Numbers whose base-6 digits d(m), d(m-1), ... d(0) have #(rises) = #(falls); see Comments. 5
1, 2, 3, 4, 5, 7, 14, 21, 28, 35, 37, 38, 39, 40, 41, 43, 48, 49, 54, 55, 56, 60, 61, 62, 63, 66, 67, 68, 69, 70, 73, 74, 75, 76, 77, 80, 81, 82, 83, 86, 90, 91, 92, 96, 97, 98, 99, 102, 103, 104, 105, 106, 109, 110, 111, 112, 113, 116, 117, 118, 119, 123 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
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 123 are 3,2,3; here #(rises) = 1 and #(falls) = 1, so 123 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
Sequence in context: A044817 A048303 A043709 * A297259 A029953 A048317
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Dec 21 2017
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 9 19:33 EDT 2024. Contains 372354 sequences. (Running on oeis4.)