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!)
A296751 Numbers n whose base-13 digits d(m), d(m-1), ..., d(0) have #(rises) > #(falls); see Comments. 5
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 43, 44, 45, 46, 47, 48, 49, 50, 51, 57, 58, 59, 60, 61, 62, 63, 64, 71, 72, 73, 74, 75, 76, 77, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 113, 114, 115, 116, 127, 128 (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 A296751-A296753 partition the natural numbers. See the guide at A296712.

LINKS

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

EXAMPLE

The base-13 digits of 1000 are 5,11,12; here #(rises) = 2 and #(falls) = 0, so that 1000 is in the sequence.

MATHEMATICA

z = 200; b = 13; d[n_] := Sign[Differences[IntegerDigits[n, b]]];

Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296750 *)

Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &]  (* A296751 *)

Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &]  (* A296752 *)

CROSSREFS

Cf. A296750, A296752, A296712.

Sequence in context: A247388 A291575 A004504 * A297281 A176294 A214424

Adjacent sequences:  A296748 A296749 A296750 * A296752 A296753 A296754

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 19 13:31 EDT 2021. Contains 347563 sequences. (Running on oeis4.)