A370870 Numbers m such that c(0) > c(1) > c(2), where c(k) = number of k's in the ternary representation of m.
9, 27, 81, 82, 84, 90, 108, 243, 244, 246, 248, 250, 252, 254, 258, 262, 264, 270, 272, 276, 288, 298, 300, 306, 324, 326, 330, 342, 378, 406, 408, 414, 432, 490, 496, 498, 514, 516, 522, 568, 570, 576, 594, 729, 730, 732, 733, 734, 736, 738, 739, 740, 741
Offset: 1
Examples
The ternary representation of 84 is 10010, for which c(0)=3 > c(1)=2 > c(2)=0.
Crossrefs
Programs
-
Mathematica
Select[Range[1000], DigitCount[#, 3, 0] > DigitCount[#, 3, 1] > DigitCount[#, 3, 2] &]