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!)
A370918 Positive integers whose ternary representation includes at least one 1, and every 1 is followed by 0. 5
3, 9, 11, 21, 27, 29, 30, 33, 35, 57, 63, 65, 75, 81, 83, 84, 87, 89, 90, 92, 99, 101, 102, 105, 107, 165, 171, 173, 183, 189, 191, 192, 195, 197, 219, 225, 227, 237, 243, 245, 246, 249, 251, 252, 254, 261, 263, 264, 267, 269, 270, 272, 273, 276, 278, 297 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The ternary representations of 3, 9, and 11 are 10, 100, and 102.
MATHEMATICA
Map[#[[1]] &, Select[Map[{#, #[[1]] > 0 && #[[1]] == #[[2]] &[{Length[
StringCases[#, "1"]], Length[StringCases[#, "10"]]}] &[
IntegerString[#, 3]]} &, Range[500]], #[[2]] &]]
(* Peter J. C. Moses, Mar 05 2024 *)
CROSSREFS
Sequence in context: A110999 A179867 A032671 * A331029 A105949 A302422
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Mar 15 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 13:24 EDT 2024. Contains 372333 sequences. (Running on oeis4.)