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!)
A296747 Numbers whose base-12 digits d(m), d(m-1), ..., d(0) have #(rises) = #(falls); see Comments. 4
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 26, 39, 52, 65, 78, 91, 104, 117, 130, 143, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 157, 168, 169, 180, 181, 182, 192, 193, 194, 195, 204, 205, 206, 207, 208, 216, 217, 218, 219, 220, 221, 228, 229, 230 (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 A296747-A296749 partition the natural numbers. See the guide at A296712.
LINKS
EXAMPLE
The base-12 digits of 230 are 1,7,2; here #(rises) = 1 and #(falls) = 1, so 230 is in the sequence.
MATHEMATICA
z = 200; b = 12; d[n_] := Sign[Differences[IntegerDigits[n, b]]];
Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296747 *)
Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &] (* A296748 *)
Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &] (* A296749 *)
CROSSREFS
Sequence in context: A044823 A048309 A043715 * A029957 A297277 A048323
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 April 16 18:12 EDT 2024. Contains 371750 sequences. (Running on oeis4.)