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!)
A274515 a(n) is the number of times that the value of ternary n when read as hyperbinary occurs in the set of hyperbinary representations. 2
1, 1, 2, 2, 1, 3, 3, 2, 3, 3, 2, 3, 3, 1, 4, 4, 3, 5, 4, 3, 5, 5, 2, 5, 5, 3, 4, 4, 3, 5, 5, 2, 5, 5, 3, 4, 5, 3, 4, 4, 1, 5, 5, 4, 7, 5, 4, 7, 7, 3, 8, 8, 5, 7, 5, 4, 7, 7, 3, 8, 8, 5, 7, 8, 5, 7, 7, 2, 7, 7, 5, 8, 7, 5, 8, 8, 3, 7, 7, 4, 5, 5, 4, 7, 7, 3, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Stern's diatomic sequence A002487 counts the ways (n+1) can be represented if one allows 2's to be included in (n)'s binary representation (its "hyperbinary representations" in the terminology of A002487). A065361 maps ternary ordering onto these hyperbinary representations.
LINKS
FORMULA
a(n) = A002487(A065361(n) + 1).
EXAMPLE
5 in ternary is 12, which when read in hyperbinary is equal to 4. 6 in ternary is 20, which when read in hyperbinary is equal to 4. 9 in ternary is 100, which when read in hyperbinary is equal to 4. Since these are the only ways to represent 4 in hyperbinary, a(5) = a(6) = a(9) = 3.
CROSSREFS
Sequence in context: A097291 A269501 A254044 * A362500 A291564 A029266
KEYWORD
nonn,base
AUTHOR
Max Barrentine, Jun 25 2016
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 March 28 08:22 EDT 2024. Contains 371236 sequences. (Running on oeis4.)