login
The OEIS is supported by the many generous donors 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.
The fraction of 5s in this sequence approaches ((3+2*sqrt(2))^(1/3)+(3-2*sqrt(2))^(1/3))/4 ~ 0.588825 -- see the formula in A064353. - Ed Wynn, Sep 04 2019
LINKS
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 12 04:07 EDT 2024. Contains 375085 sequences. (Running on oeis4.)