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.

A296705 Numbers whose base-7 digits d(m), d(m-1), ..., d(0) have #(rises) < #(falls); see Comments.

This page as a plain text file.
%I A296705 #7 Jan 27 2023 19:23:02
%S A296705 7,14,15,21,22,23,28,29,30,31,35,36,37,38,39,42,43,44,45,46,47,49,56,
%T A296705 98,105,106,112,113,147,154,155,161,162,163,168,169,170,196,203,204,
%U A296705 210,211,212,217,218,219,220,224,225,226,227,245,252,253,259,260,261
%N A296705 Numbers whose base-7 digits d(m), d(m-1), ..., d(0) have #(rises) < #(falls); see Comments.
%C A296705 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.
%H A296705 Clark Kimberling, <a href="/A296705/b296705.txt">Table of n, a(n) for n = 1..10000</a>
%e A296705 The base-7 digits of 261 are 5,2,2; here #(rises) = 0 and #(falls) = 2, so 261 is in the sequence.
%t A296705 z = 200; b = 7; d[n_] := Sign[Differences[IntegerDigits[n, b]]];
%t A296705 Select[Range [z], Count[d[#], -1] == Count[d[#], 1] &] (* A296703 *)
%t A296705 Select[Range [z], Count[d[#], -1] < Count[d[#], 1] &]  (* A296704 *)
%t A296705 Select[Range [z], Count[d[#], -1] > Count[d[#], 1] &]  (* A296705 *)
%Y A296705 Cf. A296703, A296704, A296712.
%K A296705 nonn,easy,base
%O A296705 1,1
%A A296705 _Clark Kimberling_, Jan 08 2018