login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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. 3
9, 27, 29, 33, 45, 55, 57, 63, 81, 82, 83, 84, 87, 90, 99, 108, 135, 163, 165, 171, 189, 243, 244, 245, 246, 248, 249, 250, 252, 254, 258, 261, 262, 264, 270, 272, 276, 288, 297, 298, 300, 306, 324, 326, 330, 342, 378, 405, 406, 408, 414, 432, 487, 489, 490 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The ternary representation of 84 is 10010, for which c(0)=3 > c(1)=2 >= c(2)=0.
MATHEMATICA
Select[Range[1000], DigitCount[#, 3, 0] > DigitCount[#, 3, 1] >= DigitCount[#, 3, 2] &]
CROSSREFS
Sequence in context: A122985 A255622 A209511 * A115148 A022701 A276003
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Mar 13 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 8 07:09 EDT 2024. Contains 372319 sequences. (Running on oeis4.)