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!)
A296895 Numbers whose base-14 digits d(m), d(m-1), ..., d(0) have #(pits) > #(peaks); see Comments. 4
197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 604 (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 A296894-A296896 partition the natural numbers. See the guides at A296712 and A296882.
LINKS
EXAMPLE
The base-14 digits of 79984 are 2,1,2,1,2; here #(pits) = 2 and #(peaks) = 1, so 79984 is in the sequence.
MATHEMATICA
z = 200; b = 14;
d[n_] := Differences[Sign[Differences[IntegerDigits[n, b]]]];
Select[Range [z], Count[d[#], -2] == Count[d[#], 2] &] (* A296894 *)
Select[Range [z], Count[d[#], -2] < Count[d[#], 2] &] (* A296895 *)
Select[Range [z], Count[d[#], -2] > Count[d[#], 2] &] (* A296896 *)
CROSSREFS
Sequence in context: A013871 A306856 A043664 * A171383 A182572 A152625
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 19 16:38 EDT 2024. Contains 371794 sequences. (Running on oeis4.)