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!)
A370856 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, 5, 7, 8, 11, 15, 17, 19, 21, 23, 25, 26, 35, 44, 47, 50, 51, 52, 53, 59, 61, 65, 68, 69, 70, 71, 73, 75, 76, 77, 79, 80, 98, 104, 106, 107, 116, 128, 132, 134, 140, 142, 143, 146, 150, 152, 154, 155, 156, 158, 159, 160, 161, 176, 178, 179, 184, 185, 187 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The ternary representation of 15 is 120, for which c(0)=1 <= c(1)=1 < c(2)=1. So 15 is in the sequence.
MATHEMATICA
Select[Range[1000], DigitCount[#, 3, 0] <= DigitCount[#, 3, 1] <= DigitCount[#, 3, 2] &]
CROSSREFS
Sequence in context: A286693 A032724 A153308 * A216565 A285938 A325441
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 May 3 09:56 EDT 2024. Contains 372207 sequences. (Running on oeis4.)