This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A274515 #13 Jul 06 2016 00:32:35 %S A274515 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, %T A274515 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, %U A274515 7,7,5,8,7,5,8,8,3,7,7,4,5,5,4,7,7,3,8 %N 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. %C A274515 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. %H A274515 Max Barrentine, <a href="/A274515/b274515.txt">Table of n, a(n) for n = 0..9841</a> %F A274515 a(n) = A002487(A065361(n) + 1). %e A274515 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. %Y A274515 Cf. A002487, A065361. %K A274515 nonn,base %O A274515 0,3 %A A274515 _Max Barrentine_, Jun 25 2016