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!)
A296766 Numbers whose base-60 digits d(m), d(m-1), ..., d(0) have #(rises) > #(falls); see Comments. 4

%I #7 Jan 22 2023 18:23:31

%S 62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,

%T 85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,

%U 106,107,108,109,110,111,112,113,114,115,116,117,118,119,123

%N Numbers whose base-60 digits d(m), d(m-1), ..., d(0) have #(rises) > #(falls); see Comments.

%C 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 A296762-A296764 partition the natural numbers. See the guide at A296712.

%H Clark Kimberling, <a href="/A296766/b296766.txt">Table of n, a(n) for n = 1..10000</a>

%e The base-60 digits of 223381 are 1, 2, 3, 1; here #(rises) = 2 and #(falls) = 1, so 223381 is in the sequence.

%t z = 200; b = 60; d[n_] := Sign[Differences[IntegerDigits[n, b]]];

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

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

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

%Y Cf. A296765, A296767, A296712.

%K nonn,base,easy

%O 1,1

%A _Clark Kimberling_, Jan 08 2018

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 19 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)