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”).

A248875
First n elements of the Kolakoski sequence read as a ternary number.
1
0, 1, 5, 17, 52, 157, 473, 1420, 4262, 12788, 38365, 115097, 345293, 1035880, 3107641, 9322925, 27968776, 83906329, 251718989, 755156969, 2265470908, 6796412726, 20389238179, 61167714538, 183503143616, 550509430849, 1651528292549, 4954584877649, 14863754632948
OFFSET
0,3
LINKS
Eric Weisstein's World of Mathematics, Kolakoski Sequence
Eric Weisstein's World of Mathematics, Ternary
FORMULA
a(n+1) = 3*a(n) + A000002(n+1).
CROSSREFS
Sequence in context: A187257 A290186 A178703 * A037544 A090575 A191139
KEYWORD
nonn,base,easy
AUTHOR
Danny Rorabaugh, Mar 04 2015
STATUS
approved