login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

First n elements of the Kolakoski sequence read as a ternary number.
1

%I #21 Mar 13 2015 15:40:41

%S 0,1,5,17,52,157,473,1420,4262,12788,38365,115097,345293,1035880,

%T 3107641,9322925,27968776,83906329,251718989,755156969,2265470908,

%U 6796412726,20389238179,61167714538,183503143616,550509430849,1651528292549,4954584877649,14863754632948

%N First n elements of the Kolakoski sequence read as a ternary number.

%H Danny Rorabaugh, <a href="/A248875/b248875.txt">Table of n, a(n) for n = 0..6615</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/KolakoskiSequence.html">Kolakoski Sequence</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Ternary.html">Ternary</a>

%F a(n+1) = 3*a(n) + A000002(n+1).

%Y Cf. A000002, A019300.

%K nonn,base,easy

%O 0,3

%A _Danny Rorabaugh_, Mar 04 2015