Non-Repetitive Binary Sequences

Similar documents
arxiv:math/ v1 [math.co] 10 Oct 2003

A ternary square-free sequence avoiding factors equivalent to abcacba

Van der Waerden s Theorem and Avoidability in Words

A generalization of Thue freeness for partial words

Letter frequency in infinite repetition-free words

= More succinctly we can write the preceding statements as

A generalization of Thue freeness for partial words. By: Francine Blanchet-Sadri, Robert Mercaş, and Geoffrey Scott

Van der Waerden s Theorem and Avoidability in Words

Bordered Conjugates of Words over Large Alphabets

Minimum Critical Exponents for Palindromes

Binary words containing infinitely many overlaps

Sums of Digits, Overlaps, and Palindromes

On the Unavoidability of k-abelian Squares in Pure Morphic Words

arxiv: v1 [cs.dm] 2 Dec 2007

arxiv: v1 [cs.dm] 14 Oct 2016

ON PATTERNS OCCURRING IN BINARY ALGEBRAIC NUMBERS

On the Long-Repetition-Free 2-Colorability of Trees

BOUNDS ON ZIMIN WORD AVOIDANCE

Marcin Witkowski. Nonrepetitive sequences on arithmetic progressions. Uniwersytet A. Mickiewicza w Poznaniu

arxiv: v3 [math.co] 19 Aug 2016

A Short Proof of the Transcendence of Thue-Morse Continued Fractions

DENSITY OF CRITICAL FACTORIZATIONS

Extremal infinite overlap-free binary words

Avoiding Large Squares in Partial Words

Concerning Kurosaki s Squarefree Word

An early completion algorithm: Thue s 1914 paper on the transformation of symbol sequences

Theoretical Computer Science

1991 Mathematics Subject Classification. 68Q70, 68R15.

Avoidability of formulas with two variables

Maximum union-free subfamilies

Tower-type bounds for unavoidable patterns in words

The non-abelian squares are not context-free

Pseudo-Power Avoidance

Avoiding Large Squares in Infinite Binary Words

On the Optimum Asymptotic Multiuser Efficiency of Randomly Spread CDMA

Periodicity Algorithms and a Conjecture on Overlaps in Partial Words

Overlapping factors in words

Some Variations on a Theme of Irina Mel nichuk Concerning the Avoidability of Patterns in Strings of Symbols

Improved degree conditions for 2-factors with k cycles in hamiltonian graphs

Square-free Strings Over Alphabet Lists

Non-repetitive Tilings

Abelian Pattern Avoidance in Partial Words

INFORMATIQUE THÉORIQUE ET APPLICATIONS

Avoidability of formulas with two variables

The complexity of automatic complexity

All Ramsey numbers for brooms in graphs

Avoidability of Formulas with Two Variables

A simple branching process approach to the phase transition in G n,p

Turán s Theorem and k-connected Graphs

Restricted square property and infinite partial words

Number of occurrences of powers in strings

Nondeterministic automatic complexity of overlap-free and almost square-free words

The obvious way to play repeated Battle-of-the-Sexes games: Theory and evidence.

Connectivity of addable graph classes

Connectivity of addable graph classes

Variants of the Erdős-Szekeres and Erdős-Hajnal Ramsey problems

Tough graphs and hamiltonian circuits

On distribution functions of ξ(3/2) n mod 1

University of Waterloo. W. F. Smyth. McMaster University. Curtin University of Technology

Capacity and Expressiveness of Genomic Tandem Duplication

A diametric theorem for edges. R. Ahlswede and L.H. Khachatrian

Erdős-Szekeres without induction

A van der Waerden Variant

4 CONNECTED PROJECTIVE-PLANAR GRAPHS ARE HAMILTONIAN. Robin Thomas* Xingxing Yu**

ON THE FRACTIONAL PARTS OF LACUNARY SEQUENCES

On the number of cycles in a graph with restricted cycle lengths

Equidivisible consecutive integers

COMPUTING SCIENCE. Square-free words over partially commutative alphabets. Lukasz Mikulski, Marcin Piatkowski and Wojciech Rytter

Polynomial versus Exponential Growth in Repetition-Free Binary Words

F. Roussel, I. Rusu. Université d Orléans, L.I.F.O., B.P. 6759, Orléans Cedex 2, France

The Number of Independent Sets in a Regular Graph

THE PALINDROMIC WIDTH OF A FREE PRODUCT OF GROUPS

Thue type problems for graphs, points, and numbers

1. Introduction. Let P and Q be non-zero relatively prime integers, α and β (α > β) be the zeros of x 2 P x + Q, and, for n 0, let

A non-learnable class of E-pattern languages

Explosive Percolation in Erdős-Rényi-Like Random Graph Processes

Slow k-nim. Vladimir Gurvich a

Pattern Popularity in 132-Avoiding Permutations

ON THE CORE OF A GRAPHf

CONDITIONS FOR THE EXISTENCE OF HAMILTONIAN CIRCUITS IN GRAPHS BASED ON VERTEX DEGREES

Finite automata and arithmetic

An explicit construction for a generalized Ramsey problem

On the Number of Distinct Squares

Graphs with large maximum degree containing no odd cycles of a given length

A non-learnable class of E-pattern languages

Combinatorial proofs of a kind of binomial and q-binomial coefficient identities *

Semantic Metatheory of SL: Mathematical Induction

FIXED POINTS OF MORPHISMS AMONG BINARY GENERALIZED PSEUDOSTANDARD WORDS

Bounds on parameters of minimally non-linear patterns

Appending Digits to Generate an Infinite Sequence of Composite Numbers

Tree-chromatic number

An Upper Bound for the Ramsey Numbers r(k 3, G)

On the intersection of infinite matroids

Maximum Distance Separable Symbol-Pair Codes

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

Strong Induction (Second Principle) Example: There are two piles of cards, players take turn: each turn: one player removes any number of cards from

SUM OF TWO REPDIGITS A SQUARE. Bart Goddard Department of Mathematics, University of Texas at Austin, Austin, Texas

Border Correlation of Binary Words

Equitable Colorings of Corona Multiproducts of Graphs

Transcription:

Reset reproduction of a 1975 paper presented Saturday, October 25, 1975 at the 727th Meeting of the American Mathematical Society, held at the Massachusetts Institute of Technology in Cambridge, Massachusetts. Abstract published in Notices of the AMS, October 1975, A- 660, #727-A5. Reprinting c Copyright 1975, 2007 by Jon Doyle. Non-Repetitive Binary Sequences Jon Doyle Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Cambridge, Massachusetts 02139 Abstract An infinite sequence on two symbols is constructed with no three adjacent identical blocks of symbols and no two adjacent identical blocks of four or more symbols, refuting a conjecture of Entringer, Jackson and Schatz. It is further demonstrated that there is no infinite sequence two symbols with no three adjacent identical blocks of symbols and no two adjacent identical blocks of three or more symbols. Let M be a finite set of symbols (an alphabet), and let Seq(M) denote the set of all finite or infinite sequences of one or more elements of M. The finite sequences in Seq(M) are also called blocks. Let A = a 1, a 2, a 3,... be a sequence in Seq(M) and let B = b 1,..., b n be a block of length n. Then the sequence A contains an occurrence of the block B if a i+j = b j for some i 0 and all j such that 1 j n. We say that A contains a k-block of length n if A contains k adjacent occurrences of some block of length n (e.g., 101010 contains a 3-block of length 2.) The block C is an initial (final) segment of the block B if B contains an occurrence of C which contains the first (last) term of B. Finally, B C means that the blocks B and C are identical. Thue [5 and 6] constructed an infinite sequence on three symbols with no 2- blocks and an infinite sequence on two symbols with no 3-blocks. Erdos [3, p. 240] questioned the existence of an infinite sequence on two symbols with an upper bound on the length of 2-blocks, a property which Thue s examples lack. Entringer, Jackson and Schatz [2] answered this question by constructing an infinite sequence on two symbols with no 2-blocks of length 3 or greater. Their example contains 3-blocks, however, and they conjectured that there exists no infinite sequence on two symbols with no 3-blocks and an upper bound on the length of 2-blocks. Theorem 1 of this paper shows this conjecture to be false by constructing an infinite sequence on two symbols with no 3-blocks and no 2- blocks of length 4 or greater. Theorem 2 shows the upper bound on the length of 2-blocks obtained in Theorem 1 to be the smallest possible. 1

2 DOYLE For the remainder of this paper, the sequences in Seq({0, 1}) will represent all sequences on two symbols. These sequences will be called binary sequences. Theorem 1 There exists an infinite binary sequence with no 3-blocks and no 2- blocks of length 4 or greater. Proof: Consider the sequences R 0, R 1, R 2,... on the alphabet {a, b, c} where R 0 = a and R i+1 is obtained from R i by replacing each symbol in R i by a block as follows: a abcab b acabcb c acbcacb. Pleasants [4] proved that the infinite sequence R obtained as the limit of R 0, R 1, R 2,... has no 2-blocks. The present proof will use a variant of this sequence. Let S 0, S 1, S 2,... be sequences on {a, b, c, d} such that S 0 = a and S i+1 is produced by replacing each symbol in S 1 as follows: a abcab b acabdb c, d adbcadb. Note that the sequence S obtained from S 0, S 1, S 2,... is the same as the sequence R except that certain occurrences of the symbol c have been changed to occurrences of the symbol d. It is clear that if S contains a 2-block then so does R; hence S contains no 2-blocks. In fact, S has the following stronger property: (1) S contains no two adjacent blocks which differ only in c-d mismatches. Let A, B, C, D and E be binary blocks as follows: A = 10110010100110 B = 0110100100110 C = 10100 D = 10100101 E = 1011001001. Let T be the infinite binary sequence obtained by replacing a, b, c and d in S by the blocks AE, BE, CE and DE, respectively. This sequence will be represented in the

NON-REPETITIVE BINARY SEQUENCES 3 following discussion as T = X 1 Y 1 X 2 Y 2 X 3 Y 3... where each X i is identical to one of A, B, C or D, and each Y i E. We claim that T has no 3-blocks and no 2-blocks of length 4 or greater. The proof will make use of the following properties of the sequence T. Both are easily verified. (2) There exist no i 0, n 1 such that X i+1... Y i+n X i+n+1... Y i+2n. (3) If Z is an occurrence of the block E in T, then Z = Y i for some i. To prove the theorem, it suffices to show that T has no 3-blocks of length 3 or less and no 2-blocks of length 4 or more. The reader may observe that T contains no 3- blocks of length 3 or less by examining the blocks EAE, EBE, ECE and EDE, in which any such 3-block must be contained. A further observation left to the reader is that T contains no 2-blocks of the form Q 1 Q 2 (Q 1 Q 2 ) of length 4 or greater such that Q 1 does not contain an occurrence of the block E. In view of property (3) and the method of construction of the sequence S, this may be verified by checking the blocks EAEBE, EAECE, EAEDE, EBEAE, EBECE, EBEDE, ECEAE and EDEBE for such 2-blocks The remainder of the proof consists of showing that T contains no 2-blocks of the form Q 1 Q 2 such that Q 1 contains an occurrence of the block E. The proof of this property is by contradiction. Assume that T has a 2-block of the form Q 1 Q 2 (Q 1 Q 2 ) such that Q 1 contains, for some positive n, exactly n occurrences of the block E. We will show that this assumption implies that T contains a 2-block of the form X i+1... Y i+n X i+n+1... Y i+2n contradicting property (2). In view of property (3), let i be such that Y i+1 is the first occurrence of E in Q 1, so that Q 1 contains the block Y i+1... Y i+n. Then there are two cases to consider: either Y i+n+1 is contained in Q 2, or it is split between Q 1 and Q 2. First case: Assume that Y i+n+1 is contained in Q 2. There are three subcases: either X i+n+1 is contained in Q 1, or it is contained in Q 2, or it is split between Q 1 and Q 2. If X i+n+1 is contained in Q 2, then Q 1 = X i+1... Y i+n and Q 2 = X i+n+1... Y i+2n contradicting property (2). It follows that T can contain no such 2-block Q 1 Q 2. If X i+n+1 is contained in Q 1, then Q 1 = Y i+1... X i+n+1 and Q 2 = Y i+n+1... X i+2n+1 (Property (l) of S forbids the possibilities of X i+n+1 C and X i+2n+1 D

4 DOYLE or vice versa.) This implies that X i+2... Y i+n+1 X i+n+2... Y i+2n+1, contradicting (2). Again we conclude that T can contain no such 2-block Q 1 Q 2. Now assume that X i+n+1 is split between Q 1 and Q 2. Then there exist an initial segment W of Q 1 and a final segment Z of Q 2 such that Q 1 Q 2 = W Y i+1... Y i+n X i+n+1 Y i+n+1... Y i+2n Z Then either W or Z identifies one of X i+1 or X i+2n+1 as being identical with X i+n+1, the possibilities of X i+n+1 C and X i+2n+1 D or vice versa being forbidden by (1). Therefore either or X i+1... Y i+n X i+n+1... Y i+2n X i+2... Y i+n+1 X i+n+2... Y i+2n+1, and either of these possibilities contradicts (2). It follows that T can contain no such 2-block Q 1 Q 2. Second case: Assume that Y i+n+1 is not contained in Q 2. Then there exist an initial segment W of Q 1 and a final segment Z of Q 2 such that Q 1 Q 2 = W Y i+1... Y i+n X i+n+1 Y i+n+1 X i+n+2 Y i+n+2... Y i+2n+1 Z. Furthermore, there are segments W 0 and Z 0 such that and (The possibilities of W = W 0 X i+1 with X i+1 X i+n+2 Z = X i+2n+2 Z 0 with X i+2n+2 X i+n+1 X i+n+1 C and X i+2n+2 D or vice versa is forbidden by (1).) But this means that X i+1... Y i+n+1 X i+n+2... Y i+2n+2, which contradicts (2). It follows that T can contain no such 2-block Q 1 Q 2 This completes the proof.

NON-REPETITIVE BINARY SEQUENCES 5 Theorem 2 There is no binary sequence of length 30 or greater with no 3-blocks and no 2-blocks of length 3 or greater. Proof: Following Doyle [1], Figure 1 displays a tree of the terms of all binary sequences starting with 0 and with no 3-blocks and no 2-blocks of length 3 or greater. Exchanging the symbols 0 and 1 throughout Figure 1 produces the rest of the binary sequences with these properties. The reader may observe that all alternatives and extensions not shown produce sequences with either 3-blocks or 2-blocks of length 3 or greater. (Note: Most of the repetitions produced by alternatives or extensions not shown are fairly short. The main exceptions occur in the longest paths where 2- blocks of length 14 are produced.) The proof is completed by noting that the longest of the sequences contained in Figure 1 are of length 29. 0 0 1 1 0 0 1 1 0 0 0 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 0 1 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 0 0 1 1 0 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 0 0 1 1 1 0 0 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 0 1 1 1 0 0 1 1 1 1 0 0 0 0 1 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 0 1 Figure 1: Tree of terms of all binary sequences with no 3-blocks and no 2-blocks of length 3 or greater.

6 DOYLE Acknowledgments: The author would like to thank J. A. Schatz for suggesting this problem and for his patience and guidance in this research. Thanks are also due to B. R. Schatz for programming assistance and many valuable criticisms of preliminary versions of this paper, and to R. D. Schafer and L. S. Gray for other assistance in its preparation and presentation. This work was aided by computing facilities made available by the Department of Mathematics of the University of Houston, and support for part of this research was provided by a Fannie and John Hertz Foundation graduate fellowship. Postscript 2007: This paper was submitted to Journal of Combinatorial Theory A, but the reviewer noted that its theorems 1 and 2 were essentially the same as theorems 1 and 2 of another paper the journal had already accepted for publication but not yet published, namely F. M. Dekking, On repetitions of blocks in binary sequences, J. C. T. A 20 (1976), 292 299. References 1. J. Doyle, Computational investigations of non-repetitive sequences, Senior Honors Thesis, Department of Mathematics, University of Houston, Houston, Texas, December, 1974. 2. R. C. Entringer, D. E. Jackson and J. A. Schatz, On non-repetitive sequences, J. Combinatorial Theory, Series A, 16 (1974), 159 164. 3. P. Erdos, Some unsolved problems, Magyar Tud. Akad. Mat. Kutató Int. Közl., 6 (1961), 221 254. 4. P. A. B. Pleasants, Non-repetitive sequences, Proc. Cambridge Philos. Soc., 68 (1970), 267 274. 5. A. Thue, Über unendliche Zeichenreihen, Norske Vid. Selsk Skr., I Mat.-Nat. Kl., Christiania, 1906, No. 7, 1 22. 6. A. Thue, Über die gegenseitige Lage gleicher Teile gewisser Zeichenreihen, Norske Vid. Selsk Skr., I Mat.-Nat. Kl., Christiania, 1912, No. 1, 1 67.