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.

A370862 Numbers m such that c(0) <= c(1) >= c(2), where c(k) = number of k's in the ternary representation of m.

This page as a plain text file.
%I A370862 #10 Mar 12 2024 20:12:43
%S A370862 1,3,4,5,7,10,11,12,13,14,15,16,19,21,22,28,30,31,32,34,36,37,38,39,
%T A370862 40,41,42,43,44,46,48,49,50,52,58,64,66,67,68,70,76,85,86,88,91,92,93,
%U A370862 94,95,96,97,98,100,102,103,104,106,109,110,111,112,113,114
%N A370862 Numbers m such that c(0) <= c(1) >= c(2), where c(k) = number of k's in the ternary representation of m.
%e A370862 The ternary representation of 15 is 120, for which c(0)=1 <= c(1)=1 >= c(2)=1.
%t A370862 Select[Range[1000], DigitCount[#, 3, 0] <= DigitCount[#, 3, 1] >= DigitCount[#, 3, 2] &]
%Y A370862 Cf. A007089, A077267, A062756, A081603.
%Y A370862 Cf. A370853, A370859, A370860, A370861.
%K A370862 nonn,base
%O A370862 1,2
%A A370862 _Clark Kimberling_, Mar 09 2024