OFFSET
1,1
EXAMPLE
The ternary representation of 20 is 202, for which c(0)=1 > c(1)=0 <= c(2)=2.
MATHEMATICA
Select[Range[1000], DigitCount[#, 3, 0] > DigitCount[#, 3, 1] <= DigitCount[#, 3, 2] &]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Mar 11 2024
STATUS
approved