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!)
A370854 Numbers m such that c(0) <= c(1) < c(2), where c(k) = number of k's in the ternary representation of m. 3
2, 8, 17, 23, 25, 26, 35, 47, 51, 53, 59, 61, 65, 69, 71, 73, 75, 77, 79, 80, 107, 134, 143, 152, 155, 158, 159, 160, 161, 179, 185, 187, 197, 206, 209, 212, 213, 214, 215, 221, 223, 227, 230, 231, 232, 233, 235, 237, 238, 239, 241, 242 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The ternary representation of 8 is 22, for which c(0)=0 <= c(1)=0 < c(2)=2. So 8 is in the sequence.
MATHEMATICA
Select[Range[1000], DigitCount[#, 3, 0] <= DigitCount[#, 3, 1] < DigitCount[#, 3, 2] &]
CROSSREFS
Sequence in context: A103086 A192155 A131362 * A284395 A217192 A224865
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Mar 03 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 July 25 20:05 EDT 2024. Contains 374612 sequences. (Running on oeis4.)