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!)
A296896 Numbers n whose base-14 digits d(m), d(m-1), ..., d(0) have #(pits) < #(peaks); see Comments. 4
224, 225, 238, 239, 240, 252, 253, 254, 255, 266, 267, 268, 269, 270, 280, 281, 282, 283, 284, 285, 294, 295, 296, 297, 298, 299, 300, 308, 309, 310, 311, 312, 313, 314, 315, 322, 323, 324, 325, 326, 327, 328, 329, 330, 336, 337, 338, 339, 340, 341, 342, 343 (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

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

EXAMPLE

The base-14 digits of 44129 are 1,2,1,2,1; here #(pits) = 1 and #(peaks) = 2, so that 44129 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

Cf. A296882, A296712, A296894, A296895.

Sequence in context: A153165 A094491 A162604 * A050241 A046296 A240529

Adjacent sequences:  A296893 A296894 A296895 * A296897 A296898 A296899

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 08:07 EDT 2021. Contains 343940 sequences. (Running on oeis4.)