A095346 a(n) is the length of the n-th run of A095345.
3, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1
Offset: 1
Keywords
Examples
A095345 begins : 1,1,1,3,1,1,1,3,1,3,...,.. and length or runs of 1's and 3's are 3,1,3,1,1,1,...
References
- F. M. Dekking: "What is the long range order in the Kolakoski sequence?" in: The Mathematics of Long-Range Aperiodic Order, ed. R. V. Moody, Kluwer, Dordrecht (1997), pp. 115-125.
Formula
a(n)=3 if n=1+2*floor(phi*k) for some k where phi=(1+sqrt(5))/2, else a(n)=1. [Benoit Cloitre, Mar 02 2009]
Comments