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.

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

Original entry on oeis.org

8, 9, 10, 11, 15, 16, 17, 22, 23, 29, 44, 45, 46, 47, 50, 51, 52, 53, 57, 58, 59, 64, 65, 71, 87, 88, 89, 93, 94, 95, 100, 101, 107, 130, 131, 136, 137, 143, 173, 179, 224, 225, 226, 227, 231, 232, 233, 238, 239, 245, 260, 261, 262, 263, 266, 267, 268, 269
Offset: 1

Views

Author

Clark Kimberling, Jan 07 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 A296700-A296702 partition the natural numbers. See the guide at A296712.

Examples

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

Crossrefs

Programs

  • Mathematica
    z = 200; b = 6; d[n_] := Sign[Differences[IntegerDigits[n, b]]];
    Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296700 *)
    Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &]  (* A296701 *)
    Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &]  (* A296702 *)