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!)
A296710 Numbers whose base-9 digits d(m), d(m-1), ..., d(0) have #(rises) > #(falls); see Comments. 4
11, 12, 13, 14, 15, 16, 17, 21, 22, 23, 24, 25, 26, 31, 32, 33, 34, 35, 41, 42, 43, 44, 51, 52, 53, 61, 62, 71, 92, 93, 94, 95, 96, 97, 98, 101, 102, 103, 104, 105, 106, 107, 111, 112, 113, 114, 115, 116, 121, 122, 123, 124, 125, 131, 132, 133, 134, 141, 142 (list; graph; refs; listen; history; text; internal format)
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 A296709-A296711 partition the natural numbers. See the guide at A296712.
LINKS
EXAMPLE
The base-9 digits of 142 are 1,6,7; here #(rises) = 2 and #(falls) = 0, so 142 is in the sequence.
MATHEMATICA
z = 200; b = 9; d[n_] := Sign[Differences[IntegerDigits[n, b]]];
Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296709 *)
Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &] (* A296710 *)
Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &] (* A296711 *)
CROSSREFS
Sequence in context: A110403 A119247 A297269 * A297143 A138595 A192271
KEYWORD
nonn,base,easy
AUTHOR
Clark Kimberling, Jan 08 2018
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 4 22:58 EDT 2024. Contains 372257 sequences. (Running on oeis4.)