VOOZH about

URL: https://oeis.org/A269350

⇱ A269350 - OEIS


login
A269350
Kolakoski-(1,8) sequence: a(n) is length of n-th run.
2
1, 8, 8, 8, 8, 8, 8, 8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 8, 8, 8, 8, 8, 8, 8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 8, 8, 8, 8, 8, 8, 8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 8, 8, 8, 8, 8, 8, 8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 8, 8, 8, 8, 8, 8, 8, 1, 1, 1, 1, 1, 1
OFFSET
1,2
COMMENTS
188888888111111118888888811111111 is prime.
LINKS
Michael Baake and Bernd Sing, Kolakoski-(3,1) is a (deformed) model set, arXiv:math/0206098 [math.MG], 2002-2003.
MATHEMATICA
seed = {1, 8}; w = {}; i = 1; Do[w = Join[w, Array[seed[[Mod[i - 1, Length[seed]] + 1]]&, If[i > Length[w], seed, w][[i]]]]; i++, {n, 42}]; w
CROSSREFS
Cf. similar sequences listed in A269268.
Sequence in context: A195141 A171811 A031176 * A195139 A010731 A048762
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 26 2016
STATUS
approved