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!)
A296695 Numbers whose base-4 digits d(m), d(m-1), ... d(0) have #(rises) > #(falls); see Comments. 4
6, 7, 11, 22, 23, 26, 27, 31, 43, 47, 70, 71, 75, 86, 87, 90, 91, 95, 97, 98, 99, 102, 103, 106, 107, 108, 109, 110, 111, 113, 114, 115, 118, 119, 123, 127, 134, 135, 139, 155, 171, 175, 177, 178, 179, 182, 183, 187, 191, 198, 199, 203, 219, 262, 263, 267 (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 A296694-A296696 partition the natural numbers. See the guide at A296712.
LINKS
EXAMPLE
The base-4 digits of 267 are 1,0,0,2,3; here #(rises) = 2 and #(falls) = 1, so 267 is in the sequence.
MATHEMATICA
z = 200; b = 4; d[n_] := Sign[Differences[IntegerDigits[n, b]]];
Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296694 *)
Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &] (* A296695 *)
Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &] (* A296696 *)
CROSSREFS
Sequence in context: A267413 A297254 A347512 * A228948 A297128 A035110
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Dec 21 2017
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 August 26 13:18 EDT 2024. Contains 375456 sequences. (Running on oeis4.)