login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A296747 Numbers n 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

Clark Kimberling, Table of n, a(n) for n = 1..10000

EXAMPLE

The base-12 digits of 230 are 1,7,2; here #(rises) = 1 and #(falls) = 1, so that 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

Cf. A296748, A296749, A296712.

Sequence in context: A044823 A048309 A043715 * A029957 A297277 A048323

Adjacent sequences:  A296744 A296745 A296746 * A296748 A296749 A296750

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 14:44 EDT 2021. Contains 347586 sequences. (Running on oeis4.)