login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A269268 Kolakoski-(1,5) sequence: a(n) is length of n-th run. 6
1, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 1, 5, 1, 5, 1, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 1, 5, 1, 5, 1, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

15555511, 155555111, 155555111115555511111 are primes.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..10000

Michael Baake and Bernd Sing, Kolakoski-(3,1) is a (deformed) model set, arXiv:math/0206098 [math.MG], 2002-2003.

MATHEMATICA

seed = {1, 5}; w = {}; i = 1; Do[w = Join[w, Array[seed[[Mod[i - 1, Length[seed]] + 1]] &, If[i > Length[w], seed, w][[i]]]]; i++, {n, 250}]; w (* from Ivan Neretin in similar sequences *)

CROSSREFS

Cf. Kolakoski-(1,k) sequence: A000002 (k=2), A064353 (k=3), A071907 (k=4), this sequence (k=5), A269348 (k=6), A269349 (k=7), A269350 (k=8), A269351 (k=9), A269352 (k=10).

Sequence in context: A093704 A271509 A269626 * A112110 A142864 A098598

Adjacent sequences:  A269265 A269266 A269267 * A269269 A269270 A269271

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Feb 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 07:17 EDT 2018. Contains 316378 sequences. (Running on oeis4.)