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.
%I A370872 #7 Mar 17 2024 04:08:07 %S A370872 9,27,29,33,45,55,57,63,81,82,83,84,87,90,99,108,135,163,165,171,189, %T A370872 243,244,245,246,248,249,250,252,254,258,261,262,264,270,272,276,288, %U A370872 297,298,300,306,324,326,330,342,378,405,406,408,414,432,487,489,490 %N A370872 Positive integers m such that c(0) > c(1) >= c(2), where c(k) = number of k's in the ternary representation of m. %e A370872 The ternary representation of 84 is 10010, for which c(0)=3 > c(1)=2 >= c(2)=0. %t A370872 Select[Range[1000], DigitCount[#, 3, 0] > DigitCount[#, 3, 1] >= DigitCount[#, 3, 2] &] %Y A370872 Cf. A007089, A077267, A062756, A081603. %Y A370872 Cf. A370870, A370871, A370873. %K A370872 nonn,base %O A370872 1,1 %A A370872 _Clark Kimberling_, Mar 13 2024