The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A296704 Numbers n whose base-7 digits d(m), d(m-1), ..., d(0) have #(rises) > #(falls); see Comments. 4
 9, 10, 11, 12, 13, 17, 18, 19, 20, 25, 26, 27, 33, 34, 41, 58, 59, 60, 61, 62, 65, 66, 67, 68, 69, 73, 74, 75, 76, 81, 82, 83, 89, 90, 97, 115, 116, 117, 118, 122, 123, 124, 125, 130, 131, 132, 138, 139, 146, 172, 173, 174, 179, 180, 181, 187, 188, 195, 229 (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 A296703-A296705 partition the natural numbers. See the guide at A296712. LINKS Clark Kimberling, Table of n, a(n) for n = 1..10000 EXAMPLE The base-7 digits of 229 are 4,4,5; here #(rises) = 1 and #(falls) = 0, so that 229 is in the sequence. MATHEMATICA z = 200; b = 7; d[n_] := Sign[Differences[IntegerDigits[n, b]]]; Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296703 *) Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &]  (* A296704 *) Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &]  (* A296705 *) CROSSREFS Cf. A296704, A296705, A296712. Sequence in context: A001731 A268360 A297263 * A297137 A129849 A274562 Adjacent sequences:  A296701 A296702 A296703 * A296705 A296706 A296707 KEYWORD nonn,easy,base AUTHOR Clark Kimberling, Jan 08 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.

Last modified December 7 02:57 EST 2021. Contains 349567 sequences. (Running on oeis4.)