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!)
A296902 Numbers whose base-16 digits d(m), d(m-1), ..., d(0) have #(pits) < #(peaks); see Comments. 4
288, 289, 304, 305, 306, 320, 321, 322, 323, 336, 337, 338, 339, 340, 352, 353, 354, 355, 356, 357, 368, 369, 370, 371, 372, 373, 374, 384, 385, 386, 387, 388, 389, 390, 391, 400, 401, 402, 403, 404, 405, 406, 407, 408, 416, 417, 418, 419, 420, 421, 422, 423 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A pit is an index i such that d(i-1) > d(i) < d(i+1); a peak is an index i such that d(i-1) < d(i) > d(i+1). The sequences A296900-A296902 partition the natural numbers. See the guides at A296712 and A296882.
LINKS
EXAMPLE
The base-16 digits of 74017 are 1,2,1,2,1; here #(pits) = 1 and #(peaks) = 2, so 74017 is in the sequence.
MATHEMATICA
z = 200; b = 16;
d[n_] := Differences[Sign[Differences[IntegerDigits[n, b]]]];
Select[Range [z], Count[d[#], -2] == Count[d[#], 2] &] (* A296900 *)
Select[Range [z], Count[d[#], -2] < Count[d[#], 2] &] (* A296901 *)
Select[Range [z], Count[d[#], -2] > Count[d[#], 2] &] (* A296902 *)
CROSSREFS
Sequence in context: A035882 A244512 A214301 * A371948 A287116 A345553
KEYWORD
nonn,base,easy
AUTHOR
Clark Kimberling, Jan 12 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 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)