H am ilton ia n William T. Trotter, Jr.

Similar documents
Kevin James. MTHSC 412 Section 3.4 Cyclic Groups

0 Sets and Induction. Sets

INTERVAL PARTITIONS AND STANLEY DEPTH

ALGEBRA I (LECTURE NOTES 2017/2018) LECTURE 9 - CYCLIC GROUPS AND EULER S FUNCTION

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

The primitive root theorem

1. Algebra 1.7. Prime numbers

4 Powers of an Element; Cyclic Groups

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

On non-hamiltonian circulant digraphs of outdegree three

Algebra Review. Instructor: Laszlo Babai Notes by Vincent Lucarelli and the instructor. June 15, 2001

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

A Latin Square of order n is an n n array of n symbols where each symbol occurs once in each row and column. For example,

Hamiltonian circuits in Cayley digraphs. Dan Isaksen. Wayne State University

Notes on Systems of Linear Congruences

Chapter 1 : The language of mathematics.

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31

The Membership Problem for a, b : bab 2 = ab

Math 451, 01, Exam #2 Answer Key

Groups Subgroups Normal subgroups Quotient groups Homomorphisms Cyclic groups Permutation groups Cayley s theorem Class equations Sylow theorems

The number of ways to choose r elements (without replacement) from an n-element set is. = r r!(n r)!.

MATH 145 Algebra, Solutions to Assignment 4

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Discrete Mathematics 22 (1978) North-Holland Publishing Company ON ADDITIVE PARTITIONS OF INTEGERS K. ALLADI University of California, Los A

Ultraproducts of Finite Groups

THE STRUCTURE OF RAINBOW-FREE COLORINGS FOR LINEAR EQUATIONS ON THREE VARIABLES IN Z p. Mario Huicochea CINNMA, Querétaro, México

PROBLEMS ON CONGRUENCES AND DIVISIBILITY

Chuck Garner, Ph.D. May 25, 2009 / Georgia ARML Practice

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

DIRECTED CYCLIC HAMILTONIAN CYCLE SYSTEMS OF THE COMPLETE SYMMETRIC DIGRAPH

LEGENDRE S THEOREM, LEGRANGE S DESCENT

PRACTICE PROBLEMS: SET 1

INTRODUCTION TO THE GROUP THEORY

Pairs of a tree and a nontree graph with the same status sequence

SOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have

On Hamilton Decompositions of Infinite Circulant Graphs

2-GENERATED CAYLEY DIGRAPHS ON NILPOTENT GROUPS HAVE HAMILTONIAN PATHS

Math 2070BC Term 2 Weeks 1 13 Lecture Notes

p = This is small enough that its primality is easily verified by trial division. A candidate prime above 1000 p of the form p U + 1 is

ARTICLE IN PRESS Theoretical Computer Science ( )

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

Sieving 2m-prime pairs

Self-complementary circulant graphs

LARGE PRIME NUMBERS (32, 42; 4) (32, 24; 2) (32, 20; 1) ( 105, 20; 0).

ON A TWO-DIMENSIONAL SEARCH PROBLEM. Emil Kolev, Ivan Landgev

Radio Number for Square of Cycles

Even Cycles in Hypergraphs.

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

AUTOMORPHISM GROUPS OF CIRCULANT DIGRAPHS WITH APPLICATIONS TO SEMIGROUP THEORY

Chapter 2. Divisibility. 2.1 Common Divisors

Math 430 Exam 1, Fall 2006

MATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.

Math 430 Exam 2, Fall 2008

5: The Integers (An introduction to Number Theory)

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

Homework #2 solutions Due: June 15, 2012

Squares in products with terms in an arithmetic progression

8 Primes and Modular Arithmetic

11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Odd-order Cayley graphs with commutator subgroup of order pq are hamiltonian

Math 120 HW 9 Solutions

Lemma 1.1. The field K embeds as a subfield of Q(ζ D ).

Equidivisible consecutive integers

MATH 215 Final. M4. For all a, b in Z, a b = b a.

ON VALUES OF CYCLOTOMIC POLYNOMIALS. V

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

HOMEWORK Graduate Abstract Algebra I May 2, 2004

2 More on Congruences

Discrete Mathematics. Benny George K. September 22, 2011

Part IX. Factorization

HAMILTONICITY IN CAYLEY GRAPHS AND DIGRAPHS OF FINITE ABELIAN GROUPS.

Maximum exponent of boolean circulant matrices with constant number of nonzero entries in its generating vector

A Few Primality Testing Algorithms

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Quantitative Aptitude

Elementary Number Theory II

Discrete Structures Lecture Primes and Greatest Common Divisor

ON A PROBLEM OF PILLAI AND ITS GENERALIZATIONS

Packing and decomposition of graphs with trees

AVOIDING ZERO-SUM SUBSEQUENCES OF PRESCRIBED LENGTH OVER THE INTEGERS

Algebra SEP Solutions

Course 2316 Sample Paper 1

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

POSITIVE DEFINITE n-regular QUADRATIC FORMS

NOTES ON INTEGERS. 1. Integers

Chapter 1. Sets and Numbers

Maximal Symmetric Difference-Free Families of Subsets of [n]

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

M381 Number Theory 2004 Page 1

The Distribution of Generalized Sum-of-Digits Functions in Residue Classes

Euler s, Fermat s and Wilson s Theorems

INFINITE RINGS WITH PLANAR ZERO-DIVISOR GRAPHS

Name: Solutions Final Exam

Mathematics for Cryptography

MATH 361: NUMBER THEORY FOURTH LECTURE

Number Theory Solutions Packet

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

Transcription:

When the Cartesian Product of Directed Cycles is H am ilton ia n William T. Trotter, Jr. UNlVERSlN OF SOUTH CAROLlNA Paul Erdos HUNGARlAN ACADEMY OF SClENCES ABSTRACT The Cartesian product of two hamiltonian graphs is always hamiltonian. For directed graphs, the analogous statement is false. We show that the Cartesian product C,,, x C, of directed cycles is hamiltonian if and only if the greatest common divisor (g.c.d.) d of n, and n, is at least two and there exist positive integers d,, d, so that d, + d, = d and g.c.d. (n,, d,) = g.c.d. (n,, d,) = 1. We also discuss some number-theoretic problems motivated by this result. 1. INTRODUCTION Let G, = (V,, El) and G, = (V,, E,) be graphs. The Cartesian product (see p. 22 of [l]) of GI and G,, denoted G,x G2, is the graph G=(V,E) where V= V, X V, and A graph G = (V, E) is hamiltonian if there exists a listing u,, u2,..., u, of the vertex set V so that {ui, U ~+~}E E for i = 1,2,..., n - 1 and {v,,, U,}E E. It is elementary to show that if G, and G, are hamiltonian, so is G, x G,. Now let G, = (V,, El) and G, = (V,, E,) be directed graphs, i.e, El and Journal of Graph Theory, Vol. 2 (1978) 137-142 @ 1978 by John Wiley & Sons, inc. 0364-9024/78/0002-0137$01.OO

138 JOURNAL OF GRAPH THEORY E, are sets of ordered pairs of V, and V,, respectively. The Cartesian product G, X G2 is the directed graph G = (V, E) where V = V, X V, and A directed graph G =(V, E) is said to be harniltonian if there exists a listing u1 u2,..., u,, of V so that (ui, q+,) E E for i = 1,2,..., n - 1 and (u,,, u,) E E. As we shall see, the Cartesian product of hamiltonian directed graphs need not be hamiltonian. 2. DIRECTED CYCLES For an integer nz2, let C,, be the directed graph with vertex set {0,1,2,..., n - 1) and edge set {(i, i + 1) : i = 0, 1,2,..., n - 1 (mod n)}. In this section we will determine when the Cartesian product Cnl X Cn2 of directed cycles is hamiltonian. We begin by dzveloping some necessary conditions. We suppose that ul, u2,..., unln2 is a hamiltonian cycle in Cnl X Cn2. Without loss of generality we may assume that u1 = (0,O). For an integer n L 2, we denote by Z,, the cyclic group of order n. We use the symbols (0, 1,2,..., n- l} for the elements of Z,, with the operation being addition modulo n. We denote the direct sum of Znl and Znz by Zn,@Z,,, and adopt the natural convention of using group notation for the elements of Cn,xCn2. In particular note that for each i = 1,2,..., nln2, either ui+, = ui +(l, 0) or ui+, = ui +(O, 1). We let V denote the vertex set of Cnl x Cn2 and then set Note that V, and V, are nonempty and their union is V. Lemma 1. UE V, if and only if u+(l,n,-l)~ V,. Proof. For each vertex u E V, there are exactly two vertices ul, u2 E V for which (u,, U)E E and (u,, u) E E, i.e., Now suppose UE V, and let u= ui; then U~+~=U~+(~,O). If u+(l,n,-l)~ V, and u+(1,n2-1)=ui, then i#j but U ~ + ~ = U ~ This + ~. contradicts the assumption that u,, u,,..., unln2 is a hamiltonian cycle in Cni x C,,, i.e., each vertex appears exactly one time in this list.

CARTESIAN PRODUCT OF DIRECTED CYCLES 139 On the other hand, if u + (1, n, - 1) E V, and u E V,, then u + (1,O) does not appear in the list since u + (1,O) = uitl and ui = u + (1, n, - 1) require u + (1, n2-1) E V, whereas ui = u requires u E V,. I Let (a, b) E Zn$Zn2 and let ((a, b)) denote the subgroup generated by (a, b). Then the order of ((a, b)) is the least common multiple of the integers O(a) and O(b) which are the orders of a and b in Z,,, and Znz, respectively. Let H=((l, n2-1))=((n,-1, 1)). Then /HI= 1.c.m. (n,, nz) = nlnz/d where d = g.c.d. (nl, n,). [l.c.m.-least common multiple; g.c.d.-greatest common divisor.] It follows from Lemma 1 that V, and V, are both the union of distinct cosets of H. Since they are nonempty and disjoint,we see that the greatest common divisor d of n, and n, must be at least two. However, as we shall see, the condition that d be at least two is not sufficient. Lemma 2. ui E V, if and only if U,+d E V,. Proof. Note that for each i, there exist el, e, so that el+ e,= d and u ~ = + ui ~ +(el, e,). We now show that {(el, e2) : el + e, = d} c H. It suffices to show that (d, O)E H. Choose integers q1 and q2 which satisfy the Diophantine equation n,q, + n,q, = -d. Then tn,q,+d)(l, %-I)= t-nzqjtl n2-1) = (n,q, + d, -nzq,n, + nzq,) = (d, 0). I Now let ud+, = u, + (dl, d,). Then d, + d, = d and d,, d,> 0 since neither V, nor V, is empty. Lemma 3. The order of ((dl, d,)) in Znl@Znz is n,n,ld. Proof. Let t=order ((d,, d,)). It follows from Lemma 2 that u ~ = + ~ ~ U, + k(dl, d2). Since u, + t(d,, d,) = u1 and we visit exactly d vertices between ui and u,+~, we see that td = nln2, i.e., t = n,n,/d. I Lemma 4. g.c.d. (n,, d,) = g.c.d. (nz, d,) = 1. Proof. Suppose that there exists a prime p so that p 1 d, and p I n,. Let t, = O(d,) and t, = O(d,) in Znl and Znz, respectively. Let us also suppose that p I d,. Then p I d and pn,. Then the order of ((dl, d,)) in Zn,$Znz is 1.c.m. (fl, f,). Since d, - (n,/p) = (d,/p). n, and rl is the least integer for

140 JOURNAL OF GRAPH THEORY which n1 1 d,t,, we see that t, 1 (njp); similarly t, 1 (n,/p). Therefore contradicting Lemma 3. On the other hand, suppose that py d,. Then p 4' d and p 4' t, 1 (nl/p) and f2 I n2 and n2. Then again contradicting Lemma 3. We conclude that g.c.d. (n,, d,) = 1 and dually we have g.c.d. (n2, d,) = 1. I We are now ready to present the principal result of the paper. Theorem 1. The Cartesian product C,,, X Cn2 of directed cycles is hamiltonian if and only if d = g.c.d.(n,, n2) 22 and there exist positive integers d,, d, so that d,+d,=d and g.c.d.(n,,d,)=g.c.d.(n,,d,)=l. Proof. The necessity has been established by the preceding Lemmas. Sufficiency is established by constructing the hamiltonian cycle in the obvious fashion. Let u1 = (0,O) and Ud+l= (d,, d,). Then choose any directed path ul, u2,..., ud, 'udsl between (0,O) = u1 and (dl, d,) = ud+l; e.g.7 let uz = (1, 01, u3 = (2, 01,..., Ud,+l = (d1, 01, Ud,+z= (di, 11, ud,+3 = (dl, 2),... Then construct the remaining part of the cycle using (as required by Lemma 4) the rule ui+d = ui +(d,, d,). It is straightforward to verify that the construction produces a hamiltonian cycle (see [2] for details). Example 1. Cd0x C,, is hamiltonian. In this case d = 8 and we may choose either (3,5) or (7,l) for (d,, d,). Note that there are then (:)+(;I different hamiltonian cycles. Example 2. Let n, = 24. 5 * 11 and n2 = 24-3 7. 13. Then C,, x Cn2 is not hamiltonian. This is.[he smallest example where d 2 2 but the product is not hamiltonian since it is relatively easy to show that if g.c.d (n,, n2) = d and 2 5 ds 15, then suitable d, and d, can always be found.

CARTESIAN PRODUCT OF DIRECTED CYCLES 141 Klerlein [3] has shown that the Cayley color graph of the direct product of cyclic groups using the standard presentation is the Cartesian product of directed cycles of appropriate orders. Theorem 1 can then be applied to determine when this Cayley color graph is hamiltonian. 3. SOME NUMBER THEORETiC RESULTS Following [2], we say that an integer d is prime partitionable if there exist n,, n2 with d =g.c.d. (ni, a,), so that for every d,, d2>0 with d,+d,= d either g.c.d. (nl, d,)# 1 or g.c.d. (n,, d2)# 1. The first ten prime partionable numbers are 16, 22, 34, 36, 46, 52, 56, 64, 66, and 70. Note that all these values are even. In [2] it is asked whether infinitely many prime partionable number exist and whether there are any odd prime partionable numbers. We settle these questions in the affirmative. Theorem 2. There exist infinitely many prime partionable numbers. Proof. It follows from a theorem of Motohashi [4] that there exist infinitely many primes pairs pl, p2 with p1 > 3 and p2 = 2p, + 1. To see that for such primes, d = p1 + p2 is always prime partionable, let n, = d * p, pz and n, be the product of d with all the primes other than p1 and p2 which are less than d. I We also found several odd prime partionable numbers by computer search for solutions to Diophantine equations. These values are d = 15, 395; d = 397, 197; d = 1,655,547; d = 2,107,997; and d = 2,969,667. Example 3. For the value d = 15, 395 let n, = dplp2p3 where p, = 197, p2 = 317, and p3 = 359. Then let n2 he the product of d with all primes other than pl, p2, and p, which are less than d. Then observe that d-p, = 48 p2; d-p, = 42 p3; d-p, = 84 p,; and d-1 = 86 pl. Furthermore each of the terms p:, pz, p:, p1p2, p,p3, and p2p3 is larger than d. Thus d is prime partionable and C,,, X C, is not hamiltonian. ACKNOWLEDGMENTS The authors gratefully acknowledge the assistance of Professor Carter Bays in the computer search for odd prime partionable numbers. References [l] F. Harary, Graph Theory. Addison Wesley, Reading, Mass. (1969).

142 JOURNAL OF GRAPH THEORY [2] W. Holsztynski and R. F. E. Strube, Paths and circuits in finite groups. Discrete Math., to appear. [3] J. B. Klerlein, Hamiltonian cycles in Cayley color graphs. J. Graph Theory, to appear. [4] Y. Motohashi, A note on the least prime in an arithmetic progression with a prime difference, Actu Arith. 17 (1970) 283-285.