The Kolakoski sequence 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, ... is an example of what people call a self-reading sequence: {an} is defined to be the sequence of 1's and 2's whose first term is 1, and each subsequent term an is the length of the nth run (of ones or twos). In more detail,
Start with a1 = 1. The rule says that the first run (which is a single 1) has length 1. Thus a2 must be different, so that a2 = 2. The second run therefore has length 2, which forces the third term, a3, to be a two also. This completes the second run, so the third run begins with a 1; since its length is 2 we have a4 = 1 and a5 = 1. The fourth and fifth runs are consequently the singletons 2 then 1. And so on. Problem for November: We received correct solutions from Pierre Bornsztein (France) and Juan Mir Pieras (Spain). Their arguments are quite similar and very well presented. For the originals you can follow the links to our French and Spanish pages. What follows is a mixture of the two. Solution to MP27.Every sequence S = {s1, s2, ...} determines an associated sequence S' = {r1, r2, ...} that "reads S" in the sense that ri is the length of the ith run of repeated numbers. So, for example, the sequence {1, 2, 3, 3, 4} is read by the associated sequence {1, 1, 2, 1}. Our problem concerns the family of self-reading sequences -- those for which S' = S. We also define the family A of sequences composed of the numbers 1 and 2 that, moreover, have no three consecutive terms that are equal. Finally, a sequence {s1, s2, ...} is called periodic if there is a positive integer p and an index K for which ak+p = ak for all k >= K; the smallest p for which this equality holds is called the period. Note that the Kolakoski sequence is the only self-reading sequence in A that begins with 1. Our goal is to show that any member of A that is periodic cannot be self-reading. This immediately implies that 0.1221122... cannot be rational (because it comes from a self-reading sequence by definition and, therefore, cannot be a repeating decimal). Let S be a member of A having period p. Each block of p consecutive terms of S will eventually consist of o1 isolated ones, o2 pairs of consecutive ones, t1 isolated twos, and t2 pairs of consecutive twos, where these numbers satisfy, The Kolakoski sequence first appeared as Problem 5304 proposed by William Kolakoski, American Mathematical Monthly 72 (1965) p. 674 and 73 (June 1966) pp. 681-682. Information about the problem, further comments, and many references can be found on N.J.A. Sloane's web page (Do not type anything in the subject line.)
|