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!)
A296868 Numbers whose base-5 digits d(m), d(m-1), ..., d(0) have #(pits) > #(peaks); see Comments. 4
26, 27, 28, 29, 51, 52, 53, 54, 57, 58, 59, 76, 77, 78, 79, 82, 83, 84, 88, 89, 101, 102, 103, 104, 107, 108, 109, 113, 114, 119, 131, 132, 133, 134, 137, 138, 139, 143, 144, 149, 151, 152, 153, 154, 256, 257, 258, 259, 262, 263, 264, 268, 269, 274, 276, 277 (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 A296867-A296869 partition the natural numbers. See the guides at A296882 and A296712.
LINKS
EXAMPLE
The base-5 digits of 277 are 2,1,0,2; here #(pits) = 1 and #(peaks) = 0, so 277 is in the sequence.
MATHEMATICA
z = 200; b = 5;
d[n_] := Differences[Sign[Differences[IntegerDigits[n, b]]]];
Select[Range [z], Count[d[#], -2] == Count[d[#], 2] &] (* A296867 *)
Select[Range [z], Count[d[#], -2] < Count[d[#], 2] &] (* A296868 *)
Select[Range [z], Count[d[#], -2] > Count[d[#], 2] &] (* A296869 *)
CROSSREFS
Sequence in context: A094835 A034067 A043603 * A277602 A022396 A042362
KEYWORD
nonn,base,easy
AUTHOR
Clark Kimberling, Jan 09 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 21 19:32 EDT 2024. Contains 371885 sequences. (Running on oeis4.)