Minimal enumerations of subsets of a nite set and the middle level problem

Similar documents
Monotone Gray Codes and the Middle Levels Problem

Partial cubes: structures, characterizations, and constructions

CDMTCS Research Report Series Explicit Denition of the Binary Reected Gray Codes Marston Conder Department of Mathematics University of Auckland Auckl

Independent even cycles in the Pancake graph and greedy Prefix reversal Gray codes.

Partial Hamming graphs and expansion procedures

On a kind of restricted edge connectivity of graphs

Gray Codes and Overlap Cycles for Restricted Weight Words

Some Examples of Lexicographic Order Algorithms and some Open Combinatorial Problems

On the Complexity of Budgeted Maximum Path Coverage on Trees

1 I A Q E B A I E Q 1 A ; E Q A I A (2) A : (3) A : (4)

Strange Combinatorial Connections. Tom Trotter

On permutation automorphism groups of q-ary Hamming codes

A fast algorithm to generate necklaces with xed content

ON MULTI-AVOIDANCE OF RIGHT ANGLED NUMBERED POLYOMINO PATTERNS

HAMILTONIAN PATHS IN PROJECTIVE CHECKERBOARDS Margaret H. Forbush, Elizabeth Hanson, Susan Kim, Andrew Mauer-Oats, Rhian Merris, Jennifer Oats-Sargent

On representable graphs

Balance properties of multi-dimensional words

Abstract. We show that a proper coloring of the diagram of an interval order I may require 1 +

Boolean constraint satisfaction: complexity results for optimization problems with arbitrary weights

Even Cycles in Hypergraphs.

Optimal superimposed codes and designs for Renyi s search model

Realization of set functions as cut functions of graphs and hypergraphs

Week 4-5: Generating Permutations and Combinations

Math 42, Discrete Mathematics

Lifting to non-integral idempotents

On the adjacency matrix of a block graph

Antipodal Gray Codes

THE MAXIMAL SUBGROUPS AND THE COMPLEXITY OF THE FLOW SEMIGROUP OF FINITE (DI)GRAPHS

Algebraic Properties and Panconnectivity of Folded Hypercubes

ON THE PALINDROMIC AND PRIMITIVE WIDTHS OF A FREE GROUP

1 Introduction A one-dimensional burst error of length t is a set of errors that are conned to t consecutive locations [14]. In this paper, we general

The median function on median graphs and semilattices

Exhaustive generation for ballot sequences in lexicographic and Gray code order

Generating Permutations and Combinations

Uniquely 2-list colorable graphs

Restricted b-matchings in degree-bounded graphs

The super line graph L 2

EFRON S COINS AND THE LINIAL ARRANGEMENT

The optimal pebbling number of the complete m-ary tree

Automorphism group of the set of all bent functions

Ramsey Theory. May 24, 2015

On the number of generators for transeunt triangles

The average dimension of the hull of cyclic codes

Applicable Analysis and Discrete Mathematics available online at HAMILTONIAN PATHS IN ODD GRAPHS 1

Some remarks on the Shannon capacity of odd cycles Bruno Codenotti Ivan Gerace y Giovanni Resta z Abstract We tackle the problem of estimating the Sha

Indian Institute of Information Technology Design and Manufacturing, Kancheepuram Chennai , India. Instructor N.Sadagopan Scribe: P.

The stable marriage problem with restricted pairs

Anew index of component importance

Note Coveringhypercubes by isometric paths

Moments of orthogonal arrays

Some operations preserving the existence of kernels

Properties of Fibonacci languages

Permutation decoding for the binary codes from triangular graphs

Word-representability of line graphs

Edge-pancyclicity of Möbius cubes

Lecture 14 - P v.s. NP 1

Lecture 15 - NP Completeness 1

Topics in Algorithms. 1 Generation of Basic Combinatorial Objects. Exercises. 1.1 Generation of Subsets. 1. Consider the sum:

Hamilton Cycles in Digraphs of Unitary Matrices

Min-Rank Conjecture for Log-Depth Circuits

ARTICLE IN PRESS Theoretical Computer Science ( )

A characterization of consistency of model weights given partial information in normal linear models

Decomposing planar cubic graphs

CONSTRAINED PERCOLATION ON Z 2

EMBEDDED PATHS AND CYCLES IN FAULTY HYPERCUBES

MAXIMAL VERTEX-CONNECTIVITY OF S n,k

СИБИРСКИЕ ЭЛЕКТРОННЫЕ МАТЕМАТИЧЕСКИЕ ИЗВЕСТИЯ

arxiv: v1 [cs.gr] 25 Nov 2015

A Z q -Fan theorem. 1 Introduction. Frédéric Meunier December 11, 2006

On values of vectorial Boolean functions and related problems in APN functions

Hamiltonian Cycles and Symmetric Chains in Boolean Lattices

GRAPH CHOOSABILITY AND DOUBLE LIST COLORABILITY. Hamid-Reza Fanaï

Locke and Witte in [9] presented a class of circulant nonhamiltonian oriented graphs of type Cay(Z 2k ; a; b; b + k) Theorem 1 (Locke,Witte [9, Thm 41

An O(n 2 ) algorithm for maximum cycle mean of Monge matrices in max-algebra

Discrete Mathematics

10.4 The Kruskal Katona theorem

Abstract. This paper discusses polynomial-time reductions from Hamiltonian Circuit (HC),

Alternative Combinatorial Gray Codes

NP-hardness of the stable matrix in unit interval family problem in discrete time

Lifting theorems and facet characterization for a class of clique partitioning inequalities

Spurious Chaotic Solutions of Dierential. Equations. Sigitas Keras. September Department of Applied Mathematics and Theoretical Physics

The selectope for games with partial cooperation

Elementary 2-Group Character Codes. Abstract. In this correspondence we describe a class of codes over GF (q),

Analysis on Graphs. Alexander Grigoryan Lecture Notes. University of Bielefeld, WS 2011/12

Perfect matchings in highly cyclically connected regular graphs

ON COUNTING SEQUENCES AND SOME RESEARCH QUESTIONS. I Nengah Suparta

(1.) For any subset P S we denote by L(P ) the abelian group of integral relations between elements of P, i.e. L(P ) := ker Z P! span Z P S S : For ea

Discrete Mathematics. The edge spectrum of the saturation number for small paths

if and only if t ;; (A) t ;; (B), t ;+ (A) t ;+ (B), t +; (A) t ++ (B), and t ++ (A) t ++ (B). To make a description more adequate, we can perform one

USING GRAPHS AND GAMES TO GENERATE CAP SET BOUNDS

The Interlace Polynomial of Graphs at 1

11 Minimal Distance and the Parity Check Matrix

Implicational classes ofde Morgan Boolean algebras

ground state degeneracy ground state energy

Codingrotations on intervals

A Questionable Distance-Regular Graph

Hanna Furmańczyk EQUITABLE COLORING OF GRAPH PRODUCTS

Vector Space Basics. 1 Abstract Vector Spaces. 1. (commutativity of vector addition) u + v = v + u. 2. (associativity of vector addition)

A shrinking lemma for random forbidding context languages

Shortest paths with negative lengths

Transcription:

Discrete Applied Mathematics 114 (2001) 109 114 Minimal enumerations of subsets of a nite set and the middle level problem A.A. Evdokimov, A.L. Perezhogin 1 Sobolev Institute of Mathematics, Novosibirsk 630090, Russia Abstract A well-known problem of the existence of a Hamilton cycle in the middle two levels of the n-dimensional Boolean lattice, n is odd, is considered. The necessary and sucient conditions for an n-symbol sequence to be a code of the cycle are obtained. It is shown that symbols of the sequence must satisfy certain properties of an uniform distribution in the sequence.? 2001 Elsevier Science B.V. All rights reserved. Keywords: Middle level problem; Hamilton cycle 1. Introduction The paper is devoted to an approach to problems of embedding in the binary n-cube and graphs of regular structure. The approach is based on the reduction of embedding problems to the investigation of words with prohibitions over an n-symbol alphabet [2,4 7]. In such a way, dierent embeddings of chains and cycles in a hypercube can be reduced to problems of existence and to the construction of symbol sequences with dierent kinds of restrictions imposed on their fragments: subwords or subsequences. This approach can be successfully applied to problems in which the collection of obtained restrictions on the structure of sequences is not too complicated [2,3,5 7,10]. Besides, the interpretation of the problem in terms of symbolic sequences with prohibitions can facilitate the search of algorithms for constructing a solution. The problem of the existence of a Hamilton cycle in the middle two levels of a Boolean hypercube of an odd dimension is considered. This problem is also called Translated from Discrete Anal. Oper. Res. Novosibirsk 4(4) (1997) 6 12. Corresponding author. E-mail addresses: evdok@math.nsc.ru (A.A. Evdokimov), pereal@math.nsc.ru (A.L. Perezhogin). 1 Supported by the Russian Foundation for Fundamental Research (Grant 96 01 01800) and the Federal Target Program Integration (Project 473). 0166-218X/01/$ - see front matter? 2001 Elsevier Science B.V. All rights reserved. PII: S0166-218X(00)00363-2

110 A.A. Evdokimov, A.L. Perezhogin / Discrete Applied Mathematics 114 (2001) 109 114 the middle levels problem [1,8,12]. In terms of subsets of a nite set, the existence of a Hamilton cycle in the problem means that we can order linearly (or cyclically) all k- and (k + 1)-element subsets of an arbitrary set containing 2k + 1 elements in such a way that subsets adjacent in the order dier from each other in just one element. Such orderings are called enumerations in the order of minimal change [3,7,13]. More generally, the enumerations in the order of minimal change are used for the search of ecient algorithms to generate a given set of objects quickly [9,11]. We try to nd ways to code a sequence of objects simply. In this coding, instead of a describing each object, we code only the dierences between adjacent objects. The existence of a Hamilton cycle in the middle two levels was proved for all odd values of n, n623; lower bounds on the largest length of simple paths and cycles were obtained. But, as noted in [12], though the problem is simply formulated, it remains open despite the eorts of many researchers. The aim of the present paper is not to obtain bounds on the length, but rather to use our approach to elucidate the structure of a possible solution and to characterize it in terms of a coding symbolic sequence with imposed restrictions on its subwords and subsequences. Such a characterization is obtained in Lemma 3 and Theorem 4. It is simple, and it allows to prove structural properties of a hypothetical solution, say, about the disposition of letters of an alphabet and about the equality of the frequencies of their occurrence in each solution (Theorem 2). We hope that it will be useful in the search of an algorithm for constructing a Hamilton cycle or in cutting o approaches having no prospects, for example, those constructions that do not provide a uniform spectrum of occurrences of edges for each of n basic vectors of the hypercube. 2. Denitions and preliminaries Recall some denitions and simple statements from [2,5]. Let I ={0; 1}. Denote by I n the set of all n-tuples, as well as the graph of the n-cube on the set of vertices I n and with the set of edges {(u; v) u; v I n ;(u; v)=1}, where is the Hamming distance. As usual, let w(v)=( 0;v) be the weight of a vertex v. The set of all vertices of the weight i is called the i-level. For each i {1; 2;:::;n 1} denote by I n (i; i + 1) the subgraph of the n-cube generated by the set of all vertices of the ith and (i + 1)th levels. An arbitrary path P = v 0 ;v 1 ;:::;v l in the graph I n uniquely determines a word X = x 1 x 2 :::x l over the alphabet A n = {1; 2;:::;n} in such a way that v i 1 diers from v i in the x i th coordinate only. We say that the word X codes the path P. And vice versa, for each word X = x 1 x 2 :::x l over the alphabet A n and for an initial vertex v 0 in the graph I n there exists a unique path P = v 0 ;v 1 ;:::;v l such that the vertices v i 1 and v i dier only in the x i th coordinate. Hence, we have a one-to-one correspondence (up to the choice of the initial node) between paths in I n and coding words over the n-letter alphabet.

A.A. Evdokimov, A.L. Perezhogin / Discrete Applied Mathematics 114 (2001) 109 114 111 Claim 1. The Hamming distance between the terminal vertices of the path is equal to the number of letters that occur in the coding path an odd number of times. The path is cyclic (v 0 coincides with v l ) if and only if each letter occurs in the coding word an even number of times. The coding word of a cyclic path is called a cyclic word, and the rst letter of such a word is supposed to follow the last letter of the word. Claim 2. The path is a simple path; i.e.; all its vertices are dierent; if and only if in each subword of the coding word there exists a letter that occurs in this subword an odd number of times. Let X be a cyclic word over the alphabet A n. We dene a map prev X of the set {1; 2;:::; X } to itself as follows. Let the word X have some letter in the ith position, and let the previous (in the cycle) occurrence of this letter be numbered by j. Then we set prev X (i)=j: For example, if X = 12131213 then prev X (1)=7; prev X (2)=6; prev X (3)=1; prev X (4)=8; prev X (5)=3; prev X (6)=2; prev X (7)=5; prev X (8)=4: It is clear that prev X is a permutation on the set X. For i {1; 2;:::; X } we set { 1 if the number prevx (i) i is even; X (i)= 0 otherwise and (X )= 1 X X (i): X i=1 It is easy to see that 06(X )61. For example, we have (12131213) = 1 and (123123) = 0. The natural orientation of the basic vectors in I n denes an orientation of edges for each of its n directions. Each path in I n passes edges of the same direction by alternating their passage in the direct and inverse direction. Therefore, it is useful to consider the coding words over a group alphabet {1; 2;:::; n; 1; 2;:::; n} by assuming that a letter x, {0; 1}, corresponds to the direct (x 1 =x) or inverse (x 0 =x) passage of the edge of the xth direction, x A n. For example, the coding word of the Hamilton cycle 12131213 with the initial vertex v 0 = (0 0 0) has the form 12 131 2 1 3, and with the initial vertex v 0 = (0 1 1) has the form 1 2 1 312 13. For an arbitrary cyclic word X = x 1 x 2 :::x l, let X x = xi 1 ;xi 2 ;xi 3 ;:::;xi k be the subsequence of all occurrences of a letter x in X. The subsequence X x is called alternating if the numbers i m and i m+1 have distinct parity for each m=1; 2;:::;k 1, and is called stable if the numbers i m and i m+1 have the same parity, 16m6k.

112 A.A. Evdokimov, A.L. Perezhogin / Discrete Applied Mathematics 114 (2001) 109 114 Lemma 3. For any cyclic word X the following conditions are equivalent: (a) (X )=0; (b) for each letter x the subsequence X x is alternating; (c) for each letter x and each subword xy x the length Y is even. Proof. (a) (b). If (X ) = 0, then for each i {1; 2;:::; X }, we have X (i) =0. Hence, for each letter x in X x all numbers i m+1 prev X (i m+1 ) are odd for m [1;k 1], i.e., X x is alternating. (b) (c). Since X is alternating, it follows that x and x alternate in X. Hence in each subword xy x the indices i x and i x of the rst and the last letter have dierent parity. Since Y = i x i x 1, it follows that the length Y is even. (c) (a). Let us consider a subword of the form xy 1 xy 2 xy 3 x. By property (c), all Y 1 xy 2 xy 3 ; Y 1 and Y 3 are even. Hence the length Y 2 is even. But this means that there is an even number of letters between each two successive occurrences of an arbitrary letter in X, i.e., i prev X (i) is odd for each i {1; 2;:::; X } and (X )=0. Note that the length Y is odd for each subword of the form xyx or xy x. It is clear that the condition (X ) = 1 holds for the cyclic word if and only if each of its subsequence X x is stable. This means that for each letter x A n there is an odd number of letters of the word X between each two successive occurrences of the letter x in X. 3. Main results The following theorem shows that the condition (X ) = 0 and, by Lemma 1, each condition equivalent to it, characterizes by words the simple cycles in the cube I n that are completely included in the subgraph I n (i; i + 1) generated by the two adjacent levels. Theorem 4. A word X over the alphabet A n ;n 3; is a coding word for a simple cycle in the graph I n (i; i +1) for some i; i {1; 2;:::;n 2}; if and only if the following three conditions hold: (i) the number of occurrences of each letter in X is even; (ii) in each subword of X there exists a letter that occurs in this subword an odd number of times; (iii) (X )=0. Necessity. Let X be a word coding a simple cycle V = v 0 ;v 1 ;:::;v l in the graph I n (i; i + 1). By Claim 1, the word X satises (i). Each subword of X codes a simple path of the cycle V, and, therefore, by Claim 2, it satises the condition (ii). It remains to show that (X )=0. Let xy x be a subword of X, and let P = v p ;:::;v q be a simple path of the cycle V that is coded by this subword. Since the vertices of weight i and (i + 1) alternate in

A.A. Evdokimov, A.L. Perezhogin / Discrete Applied Mathematics 114 (2001) 109 114 113 P, it follows that (v p ;v q ) is even. Hence, by Claim 1, the length xy x is even, and, by condition (c) of Lemma 3, we have (X )=0. Suciency. Let X = x 1 x 2 :::x l be a word over the alphabet A n, and let conditions (i) (iii) be satised. According to Claim 1, the word X codes the cycle in I n.by Claim 2, this cycle is a simple one. Now we show that it is possible to choose an initial vertex v 0 and i {1; 2;:::;n 2} so that all vertices of the cycle generated by X that has the initial vertex v 0 belong to the graph I n (i; i + 1). For each letter x A n,weset { 0 if an index of the rst occurrence of x in X is odd; x = 1 otherwise: We set v 0 =( 1 ; 2 ;:::; n ) and i = n j=1 j. Let V = v 0 ;v 1 ;:::;v l be a simple cycle generated by the word X with the initial vertex v 0. We have w(v 0 )=i. The proof is by contradiction. Let v q be a vertex of the cycle V with the least index q such that w(v q ) {i; i +1}. Let w(v q )=i 1 (the case w(v q )=i + 2 can be proved in a similar way). Then w(v q 1 )=w(v 0 )=i, and q is odd. Two cases are possible. (I) The word x 1 x 2 :::x q 1 does not contain a letter x = x q. Then for each vertex v 0 ;v 1 ;:::;v q 1 the xth coordinate is equal to 0, and for the vertex v q the xth coordinate is equal to 1. Hence, w(v q )=w(v q 1 )+1=i + 1, which contradicts the equality w(v q )=i 1. (II) The word x 1 x 2 :::x q 1 contains a letter x. Let prev X q = p. Then the subword x p :::x q =xy x codes the path v p 1 ;v p ;:::;v q, and w(v p ) w(v p 1 ). Since q is the least index of the vertex such that its weight diers from i and i + 1, we have w(v p 1 )=i. From this fact and the equality w(v q 1 )=i, it follows that the distance (v p 1 ;v q 1 )is even. By Claim 1, the length xy is even. By property (c) of Lemma 3, this contradicts condition (iii). The number of vertices in the graph I n ((n 1)=2; (n +1)=2) is equal to ( n+1 (n+1)=2 ). Hence from Theorem 4, we obtain: Corollary5. For each odd n 3; the graph I n ((n 1)=2; (n +1)=2) is Hamiltonian if and only if there exists a word X of the length ( n+1 (n+1)=2) that satises the hypothesis of Theorem 4. For example, the word 1 2 3 4 2 3 5 1 3 5 4 2 5 4 1 3 4 1 2 5 of length 20 codes a Hamilton cycle in I 5 (2; 3) with the initial vertex (01010). Theorem 6. If the word X over the alphabet A n codes a Hamilton cycle in the graph I n ((n 1)=2; (n +1)=2); then all letters occur the same number of times in the word X.

114 A.A. Evdokimov, A.L. Perezhogin / Discrete Applied Mathematics 114 (2001) 109 114 Proof. Let the word X = x 1 x 2 :::x l, where l =( n+1 (n+1)=2), be a coding sequence of a Hamilton cycle V = v 0 ;v 1 ;:::;v l in the graph I n ((n 1)=2; (n +1)=2), and let a letter x, x A n, occur 2k times in X. Let X x = xi 1 ;xi 2 ;xi 3 ;:::;xi 2k be an alternating subsequence for all occurrences of the letter x in X. Since the word X is cyclic, it is sucient to consider the case =1. It is easy to see that j {i 1 ;i 3 ;:::;i 2k 1 } if and only if the xth coordinate of the vertex v j 1 is equal to 0, and the xth coordinate of the vertex v j is equal to 1. This means that the number k is equal to the dierence between the number of vertices of weight (n +1)=2 that have the xth coordinate equal to 1 and the number of vertices of the weight (n 1)=2 that have the xth coordinate equal to 1. Therefore, ( ) ( ) n 1 n 1 k = = (n 1)=2 (n 3)=2 Hence, ( 2k =2 n (n 1)=2 ( n (n 1)=2 )/ ( )/ n +1 n = n: (n +1)=2 Because of arbitrariness of the choice of the letter x, from the last equality it follows that each letter of the alphabet A n occurs exactly ( n+1 (n+1)=2)=n times in the word X. n ) : References [1] D. Duus, B. Sands, R. Woodrow, Lexicographic matchings cannot form Hamilton cycles, Order 5=2 (1988) 149 161. [2] A.A. Evdokimov, Maximal length of circuit in a unitary n-dimensional cube, Math. Notes 6 (1970) 642 648 (translation from Math. Zametki 6 (1969) 309 319). [3] A.A. Evdokimov, On the enumeration of subsets of a nite set, Metody Diskretn. Anal. Novosibirsk 34 (1980) 8 26 (in Russian). [4] A.A. Evdokimov, Metric properties of embeddings and codes preserving distances, Tr. Inst. Mat. Novosibirsk 10 (1980) 116 132 (in Russian). [5] A.A. Evdokimov, Embedding of chains and cycles in a hypercube, Metody Diskretn. Anal. Novosibirsk 50 (1990) 10 25 (in Russian). [6] A.A. Evdokimov, V.A. Krajnev, Problems of the completeness of words with prohibitions, Proceedings of XXII Regional Scientic and Technical Conference, Novosibirsk, 1979, pp. 105 107 (in Russian). [7] A.A. Evdokimov, S.A. Malyugin, The code the snake in a box and ways in a lattice on a torus, Math. Today Kiev (1987) 108 116 (in Russian). [8] H.A. Kierstead, W.T. Trotter, Explicit matchings in the middle levels of the Boolean lattice, Order 5=2 (1988) 163 171. [9] W. Lipski, Kombinatoryka dla programistow, Warsawa, Wydawnictwa naukowo-techniczne, 1982 (in Polish). [10] A.L. Perezhogin, On locally isometric coding of natural numbers, Discrete Anal. Oper. Res. 3=4 (1996) 69 76 (in Russian). [11] E.M. Reincold, J. Nienergelt, N. Deo, Combinatorial algorithms, Theory and Practice, Prentice-Hall, Inc., Englewood Clis, NJ 07632, 1977. [12] C.D. Savage, P. Winkler, Monotone Gray codes and the middle levels problem, J. Combin. Theory Ser. A 70=2 (1995) 230 248. [13] A.J. van Zanten, The ranking problem of a Gray code for compositions, Ars Combin. 11 (1995) 257 268.