cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A296745 Numbers whose base-11 digits d(m), d(m-1), ..., d(0) have #(rises) > #(falls); see Comments.

Original entry on oeis.org

13, 14, 15, 16, 17, 18, 19, 20, 21, 25, 26, 27, 28, 29, 30, 31, 32, 37, 38, 39, 40, 41, 42, 43, 49, 50, 51, 52, 53, 54, 61, 62, 63, 64, 65, 73, 74, 75, 76, 85, 86, 87, 97, 98, 109, 134, 135, 136, 137, 138, 139, 140, 141, 142, 145, 146, 147, 148, 149, 150
Offset: 1

Views

Author

Clark Kimberling, Jan 08 2018

Keywords

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 A296744-A296746 partition the natural numbers. See the guide at A296712.

Examples

			The base-11 digits of 150 are 1,2,7; here #(rises) = 2 and #(falls) = 0, so 150 is in the sequence.
		

Crossrefs

Programs

  • Mathematica
    z = 200; b = 11; d[n_] := Sign[Differences[IntegerDigits[n, b]]];
    Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296744 *)
    Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &]  (* A296745 *)
    Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &]  (* A296746 *)