A tournament problem

Similar documents
Non-overlapping permutation patterns

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP

Pattern Avoidance in Unimodal and V-unimodal Permutations

Week 1. 1 What Is Combinatorics?

Constructions of Coverings of the Integers: Exploring an Erdős Problem

Math236 Discrete Maths with Applications

Sec 5.1 The Basics of Counting

Combinatorics in the group of parity alternating permutations

MATHEMATICS ON THE CHESSBOARD

SOLUTIONS FOR PROBLEM SET 4

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =

NON-OVERLAPPING PERMUTATION PATTERNS. To Doron Zeilberger, for his Sixtieth Birthday

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

Dyck paths, standard Young tableaux, and pattern avoiding permutations

STRATEGY AND COMPLEXITY OF THE GAME OF SQUARES

The Pigeonhole Principle

On uniquely k-determined permutations

A construction of infinite families of directed strongly regular graphs

1.6 Congruence Modulo m

On the Periodicity of Graph Games

lecture notes September 2, Batcher s Algorithm

Modular Arithmetic. Kieran Cooney - February 18, 2016

Odd king tours on even chessboards

Tic-Tac-Toe on graphs

Generating indecomposable permutations

ON SPLITTING UP PILES OF STONES

12. 6 jokes are minimal.

Math 127: Equivalence Relations

arxiv: v1 [math.co] 30 Nov 2017

18.204: CHIP FIRING GAMES

Introduction. and Z r1 Z rn. This lecture aims to provide techniques. CRT during the decription process in RSA is explained.

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,

Enumeration of Two Particular Sets of Minimal Permutations

Chameleon Coins arxiv: v1 [math.ho] 23 Dec 2015

PUTNAM PROBLEMS FINITE MATHEMATICS, COMBINATORICS

Unique Sequences Containing No k-term Arithmetic Progressions

MATH 135 Algebra, Solutions to Assignment 7


SOLUTIONS TO PROBLEM SET 5. Section 9.1

Solutions to Exercises Chapter 6: Latin squares and SDRs

Three Pile Nim with Move Blocking. Arthur Holshouser. Harold Reiter.

Solutions for the Practice Questions

ON THE EQUATION a x x (mod b) Jam Germain

Reading 14 : Counting

6.1 Basics of counting

Lower Bounds for the Number of Bends in Three-Dimensional Orthogonal Graph Drawings

Olympiad Combinatorics. Pranav A. Sriram

Applications of Fermat s Little Theorem and Congruences

Congruences Modulo Small Powers of 2 and 3 for Partitions into Odd Designated Summands

Mathematical Foundations of Computer Science Lecture Outline August 30, 2018

Generating trees and pattern avoidance in alternating permutations

37 Game Theory. Bebe b1 b2 b3. a Abe a a A Two-Person Zero-Sum Game

Topic : ADDITION OF PROBABILITIES (MUTUALLY EXCLUSIVE EVENTS) TIME : 4 X 45 minutes

arxiv: v1 [cs.cc] 21 Jun 2017

The Apprentices Tower of Hanoi

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

Games on graphs. Keywords: positional game, Maker-Breaker, Avoider-Enforcer, probabilistic

3.5 Marginal Distributions

132-avoiding Two-stack Sortable Permutations, Fibonacci Numbers, and Pell Numbers

NUMBER THEORY AMIN WITNO

Math 3338: Probability (Fall 2006)

NIM Games: Handout 1

A theorem on the cores of partitions

Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games

UK JUNIOR MATHEMATICAL CHALLENGE May 6th 2011

A variation on the game SET

LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE

Department of Applied Mathematics Faculty of EEMCS. University of Twente. Memorandum No. 1760

Corners in Tree Like Tableaux

On uniquely k-determined permutations

MAT Modular arithmetic and number theory. Modular arithmetic

Crossing Game Strategies

IMOK Maclaurin Paper 2014

Partizan Kayles and Misère Invertibility

Minimal tilings of a unit square

How to Make the Perfect Fireworks Display: Two Strategies for Hanabi

Ramanujan-type Congruences for Overpartitions Modulo 5. Nankai University, Tianjin , P. R. China

Math 42, Discrete Mathematics

Game Theory two-person, zero-sum games

Assignment 2. Due: Monday Oct. 15, :59pm

arxiv: v1 [math.co] 24 Nov 2018

Chapter 1. Probability

SOLITAIRE CLOBBER AS AN OPTIMIZATION PROBLEM ON WORDS

Ultimately bipartite subtraction games

Peeking at partizan misère quotients

A Note on Downup Permutations and Increasing Trees DAVID CALLAN. Department of Statistics. Medical Science Center University Ave

Asymptotic Results for the Queen Packing Problem

(1) 2 x 6. (2) 5 x 8. (3) 9 x 12. (4) 11 x 14. (5) 13 x 18. Soln: Initial quantity of rice is x. After 1st customer, rice available In the Same way

MAT3707. Tutorial letter 202/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/202/1/2017

RMT 2015 Power Round Solutions February 14, 2015

THE NUMBER OF PERMUTATIONS WHICH FORM ARITHMETIC PROGRESSIONS MODULO m

Consecutive Numbers. Madhav Kaushish. November 23, Learning Outcomes: 1. Coming up with conjectures. 2. Coming up with proofs

Two-person symmetric whist

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2

Number Theory. Konkreetne Matemaatika

Solutions to the European Kangaroo Pink Paper

VARIATIONS ON NARROW DOTS-AND-BOXES AND DOTS-AND-TRIANGLES

Combinatorics and Intuitive Probability

With Question/Answer Animations. Chapter 6

Notes for Recitation 3

Transcription:

Discrete Mathematics 263 (2003) 281 288 www.elsevier.com/locate/disc Note A tournament problem M.H. Eggar Department of Mathematics and Statistics, University of Edinburgh, JCMB, KB, Mayeld Road, Edinburgh EH9 3JZ, Scotland, UK Received 5 October 2001; received in revised form 19 August 2002; accepted 30 September 2002 Abstract When teams play a round robin tournament, the number of individual players with a suciently high average of wins is investigated. c 2002 Elsevier Science B.V. All rights reserved. 1. Introduction In the Edinburgh and Lothian Table Tennis League 12 teams play a round robin tournament. When two teams meet, each elds three players and each member of one team plays each member of the other team. At the end of the season, the League publishes a list of all those players, who have played in at least two-thirds of their team s matches and have an average of at least 60% wins in their games. A natural question to ask is what is the maximal length of the list? (In the last four seasons the lengths of the published lists for the rst Division were 14; 12; 16; 11.) We show that the answer to the question is 39. If one imposes the restriction that each team uses the same three players in each match, then the list can contain a maximum of 28 names. There are too many possibilities for the outcomes of all the games for a computer to obtain these answers by enumeration of every case. Our approach is to identify an upper bound and show by construction that it is minimal. The problem can be generalised in various ways. The most immediate generalisation would be to consider n teams, each elding p players for each match chosen from a squad of P players, and to insert parameters ; in place of 2 3, 0.60. The situation when P = p is studied in Section 3. One could add the complication that each team plays each other team t times. For simplicity in our discussion we have taken t =1, but actually in the Edinburgh and Lothian Table Tennis League t = 2, as each team E-mail address: m.eggar@ed.ac.uk (M.H. Eggar). 0012-365X/03/$ - see front matter c 2002 Elsevier Science B.V. All rights reserved. doi:10.1016/s0012-365x(000769-0

282 M.H. Eggar / Discrete Mathematics 263 (2003) 281 288 plays a home and an away match against each other team. The answers to the two questions are then 44 and 28, instead of 39 and 28. We leave it to the reader to adapt the discussion to show this. The problem can be reformulated in the standard way as a question about multipartite tournaments (see [1,3]). The question concerns the distribution of outdegrees of digraphs, where each player is represented by a vertex and an edge is drawn from vertex V to vertex W, if player V wins over player W. The digraphs are built from the complete bipartite subgraphs (i.e. bipartite tournaments) on the p + p players involved in each match. 2. Some generalities For any real number we use the notation [] to denote the largest integer not exceeding. (2.1) Each team plays (n 1) matches and hence (n 1)p 2 games during the season. Altogether in the tournament there are ( ( n matches and hence n p 2 games. Any player on the list must play at least m matches, where m is the smallest integer that is not less than (n 1), and must win at least w games, where w is the smallest integer not less than mp. An upper bound on the length of the list is ( n p 2 =w. Each team has (n 1)p match places and so can have at most (n 1)p=m members on the list and so) the list contains at most n(n 1)p=m names. Note that for 1 2 the upper bound p 2 =w is smaller than n(n 1)p=m. ( n 2 (2. Consider our question when every team elds the same p players in every match, i.e. P = p. Suppose that there are k players on the list and write k = hp + c, where 06c p. There must be at least ( h p 2 + chp games between players, both of whom are on the list, and this minimum value would only occur when the k players make up h full teams and c members of another team. Since each player on the list loses at most d games, where d = p(n 1) w, and each of the games between players on the list contributes a loss to one of them, we deduce that kd ( h p 2 + chp. This inequality can be rewritten as 2kd k(k p)+c(p c). This strategy to answer our question is described most clearly from the viewpoint of n-partite tournaments. By choosing the k vertices for the list to consist of all p vertices in h of the partite sets and c vertices from a dierent partite set one simultaneously achieves two things. One minimises the number of arcs between vertices on the list (each such arc gives a loss to a player on the list) and also maximises the number of arcs between vertices on the list and those not on it (each such arc can be oriented to give a win to the player on the list). We may then seek to orient the arcs between vertices on the list, so that the outdegrees of the vertices are all as equal as possible to each other (dier by at most 1). (2.3) In a given match between two teams the number of wins of a player can obviously exceed neither the number of wins of his team nor the number of games, p, that he plays, but furthermore it may be restricted by the distribution of the wins

M.H. Eggar / Discrete Mathematics 263 (2003) 281 288 283 by the other team. For example, a player cannot win all his games, if a player on the other team wins all his games. The necessary and sucient condition on the numbers of wins by the individual players is obtained by setting p = q in the following proposition, which is essentially due to H. Landau (1953). Proposition 2.3. A team of p players has a match against a team of q players, where each player of one team plays each player of the other team. Let v i, w j be integers that satisfy q v 1 v 2 v p 0, p w 1 w 2 w q 0. The match can result in v 1 ;v 2 ;:::;v p wins for the players of the rst team and w 1 ;w 2 ;:::;w q wins for the players of the second team if and only if v 1 +v 2 + +v r +w 1 +w 2 + +w s 6rq+sp rs for all r; s, 06r6p, 06s6q. (When r =0 we interpret v 1 +v 2 + +v r as the empty sum with value zero on the left-hand side of the inequality.) The expression on the right-hand side of the inequality is pq (p r)(q s) and this is the number of games in which at least one player from any xed set of r + s players, r from the rst team and s from the second team, must be involved. The proposition then follows from the harem form of Hall s Marriage Theorem (see [2, p p. 91 97]). (2.4) For our original question and its variants the following result is useful. It can be deduced from Proposition 2.3, but we prefer to give a constructive proof. Proposition 2.4. A team of p players has a match against a team of q players, where each player of one team plays each player of the other team. Let v 1 ;v 2 ;:::;v p be integers such that 06v i 6q for each i. Then there is a conguration of results, for which the players of the rst team win exactly v 1 ;v 2 ;:::;v p games and the minimum number of games won by a player of the second team is [p (v 1 + v 2 + +v p )=q]. To prove Proposition 2.4 choose for each team any order on the players. Let player 1 of the rst team win against player j of the second team if and only if 16j6v 1. In general, let player i of the rst team win against player j of the second team if and only if j (v 1 + + v i 1 )+k mod q, for some k in the range 16k6v i. In the conguration of wins described each player of the second team wins either [p (v 1 + v 2 + + v p )=q] or[p (v 1 + v 2 + + v p )=q] + 1 games. We remark that, since q([p (v 1 + v 2 + + v p )=q] +1) pq (v 1 + + v p ), there can be no conguration of wins where every member of the second team wins at least ([p (v 1 + v 2 + + v p )=q] + 1) games, if the members of the rst team win v 1 ;v 2 ;:::;v p games. (2.5) In particular, Corollary 2.5. A team of p players has a match against a team of q players, where each player of one team plays each player of the other team. There is a conguration

284 M.H. Eggar / Discrete Mathematics 263 (2003) 281 288 of results, where each player of the rst team wins at least [ q 2 ] games and each player of the second team wins at least [ p 2 ] games. When both p and q are odd and p6q, then this conguration can be chosen so that each player in the rst team wins at least (q +1)=2 games. The rst statement is proved by taking v i =[ q 2 ] for 16i6p in Proposition 2.4 and the second statement by taking v i =(q +1)=2. 3. Round robin tournaments with P = p Throughout this section, we consider a round robin tournament between n teams, each with exactly p players. In any match between teams, every member of one team plays every member of the other team. A theorem of Landau type (i.e. like Proposition 2.3), that gives a necessary and sucient condition for a set of np numbers to be a possible set of the numbers of wins of the players, can be found on p. 63 of [3]. This criterion, however, does not quite lend itself to answering the question under investigation. We shall build on the results in Section 2. Proposition 3.1. (i) If n is odd or p is even, there is a conguration of results where every player wins exactly half of his games. (ii) If n is even and p is odd, there is a conguration of results where every player in n=2 teams wins (p(n 1)+1)=2 games and every player in the other n=2 teams wins (p(n 1) 1)=2 games. Proof. (i) If p is even, it is possible by Corollary 2.5 (with p = q) for every player to win exactly half of his games in every match. If n is odd, when a member of team i plays a member of team j let the player from team i win if and only if j i 1; 2;:::;(n 1)=2 (mod n). (ii) Suppose n is even and p is odd. The nal statement of Corollary 2.5 gives the result when n = 2. Henceforth, suppose that n 2. First consider the totality of matches that do not involve team n. By (i) it is possible for every player to win half his games. In the match between team n and team i, for 16i6n 1, by Corollary 2.5 we may let each player of team i win [(p +( 1) i )=2] games and each player of team n win [(p ( 1) i )=2] games. We use Proposition 3.1 to show Proposition 3.2. Let 0 c p and dene =(p(n +2c)=2(p(n 1) + c) (and so 0 1). The maximal value w such that p(n 1) + c players can each win at least w games is (i) w = p(n =2+(p c)+[c], when pn is even. (ii) w = p(n =2+(p c)+ 1 2 +[c 1 2 ], when pn is odd.

M.H. Eggar / Discrete Mathematics 263 (2003) 281 288 285 Proof. (i) We rst describe a conguration of results that achieves the stated value of w. Consider all players in (n 1) of the teams and the rst c players in the remaining team. In the matches that do not involve the last team it is possible by Proposition 3.1(i) for every player of the rst (n 1) teams to win exactly p(n =2 games. Let the players of the rst (n 1) teams win all games against the nal (p c) players of the remaining team. It remains to assign the winners of the p(n 1)c games that involve the rst c players of the last team. The collection of all these games can be regarded as a match between a team of (n 1)p players and a team of c players and so we may apply Proposition 2.4 with v 1 = v 2 = = v p(n 1) =[c]. Each of the c players then wins at least [((n 1)pc (n 1)p[c])=c] games. Now ((n 1)pc (n 1)p[c])=c p(n 1) p(n 1) and we observe that is the solution of the equation p(n =2 +(p c)+c = p(n 1)(1 ). Hence [((n 1)pc (n 1)p[c])=c] [p(n 1) p(n 1)]=p(n =2+(p c)+[c], and so the c players in the last team and also all players in the rst (n 1) teams achieve at least w wins. To see that w is maximal we note that the equation satised by gives that p 2( n (p(n 1) + c)(p(n =2 +(p c))=(p(n 1) + c)c. Hence, it is not possible for (p(n 1) + c) players each to get more than p(n =2 +(p c) +[c] wins since there are only p 2( ) n ( 2 games altogether and p 2 n (p(n 1) + c)(p(n =2+ (p c)+[c])=(p(n 1) + c)(c [c]) (p(n 1) + c). (ii) We now describe, similarly to (i), a conguration of wins that achieves the stated value w in the case when p and n are both odd. In the matches that do not involve the last team it is possible by Proposition 3.1(ii) for every player of the rst (n 1)=2 teams to win exactly (p(n +1)=2 games and every player of the next (n 1)=2 teams to win exactly (p(n 1)=2 games. Let the players of the rst (n 1) teams win all games against the nal (p c) players of the remaining team. We now assign the winners of the p(n 1)c games that involve the rst c players of the last team. These games can be regarded as a match between a team of (n 1)p players and a team of c players and we may apply Proposition 2.4 with v i =[K] for 16i6(n 1)=2 and v i =[K]+1 for (n 1)=2 i6n 1, where K is the solution of the equation (p(n +1)=2+(p c)+k = p(n 1) p(n 1)K=c p(n 1)=2c (and so v i 6c for all i). One can easily check that K = c 1 2. By Proposition 2.4 each of the c players wins at least [((n 1)pc p(n 1)[K] p(n 1)==c] games. Since [((n 1)pc p(n 1)[K] p(n 1)==c] [((n 1)pc p(n 1)K p(n 1)==c], we have that [((n 1)pc p(n 1)[K] p(n 1)==c] [(p(n +1)=2+(p c)+k]=(p(n +1)=2+(p c)+[k]. Thus, all players in the rst n 1 teams and c players in the remaining team achieve at least w wins. That it is not possible for (p(n 1) + c) players each to get more than w wins follows from the inequality p 2( ) n 1 2 (p(n 1)+c)w =(p(n 1)+c)(K [K]) (p(n 1) + c). Theorem 3.3. A round robin tournament is played by n teams, each with exactly p players, where in any match between teams every member of one team plays every member of the other team. Given k then the maximal number w of wins that can be achieved by each of k players is found as follows: Write k = hp + c, where 06c p

286 M.H. Eggar / Discrete Mathematics 263 (2003) 281 288 and let =(p(h 1)+2c)=2(ph + c) (and so 0 1). (i) If c =0 then w =[ p(h 1) 2 ]+(n h)p. (ii) If c 0and p(h 1) is even, then w = p(h 1) 2 +(p c)+[c]+(n h 1)p. (iii) If c 0and p(h 1) is odd, then w = p(h 1) 2 +(p c)+ 1 2 +[c 1 2 ]+(n h 1)p. Proof. We minimise the number of losses of the k players. One of these players necessarily sustains a loss when two of them meet. The number of such meetings is minimised when the players form h complete teams and c members of another team (see (2.) and this arrangement also allows the k players to sustain no further losses, since they may win all their games against all players in teams that do not contain one of the k players. (These wins account for the nal summand in the expressions for w:) The largest number of losses by one of the k players will thus be minimised when the minimal total number of losses is distributed as evenly as possible amongst the k players, and the result follows from Proposition 3.2. 4. The original table-tennis problem Henceforth we take p = 3, which is the largest practicable value for an evening of table tennis in the Edinburgh League. We suppose there are n teams and the teams play a round robin tournament over the season. Given w we consider the problem of determining the maximum number k of players who can win at least w games each. We rst consider the problem when every team elds the same 3 players in every match. Proposition 4.1. The maximum length k of the list of those players, who win at least w games, is { min(3n; 6n 2w 3) if w 0 mod 3; k = min(3n; 6n 2w 4) if w 1; 2 mod 3: In particular, when n =12 and w = 20, then the maximum length is 28. Proof. Clearly the total number 3n of players is an upper bound on k. Ifk 1; 2 mod 3, then the inequality in (2. gives 2kd k(k 3) + 2. This implies, by division of both sides by k, that k62+2d. On the other hand, if k 0 mod 3, the inequality in (2. gives 2kd k(k 3), and hence k63+2d. When k 0 mod 3 and d 1; 2 mod 3, then k 3+2d and so k62+2d. We thus conclude that { 2d +2 if d 1; 2 mod 3; k6 2d +3 if d 0 mod 3: Since d =3n 3 w, we see that { 6n 2w 3 if w 0 mod 3; k6 6n 2w 4 if w 1; 2 mod 3:

M.H. Eggar / Discrete Mathematics 263 (2003) 281 288 287 It remains to check that the upper bounds claimed can be achieved. Case 1: Suppose w 0 mod 3. Write w =3(n 1 r), where 06r6n 1. If n 2r+1 then w 3(n 1)=2 and 6n 2w 3 = 6r+3 3n and the result follows from Proposition 3.1. On the other hand, if n 2r + 1 then 6n 2w 3=6r +363n and the result follows from Theorem 3.3(i). Case 2: Suppose w 1 mod 3. Write w =3(n 1 r) + 1, where 16r6n 1. If n62r then w63(n 4)=2 3(n 1)=2 and 6n 2w 4=6r 3n and the result follows from Proposition 3.1. On the other hand, if n 2r then 6n 2w 4=6r 3n and the result follows from Theorem 3.3(i). Case 3: Suppose w 2 mod 3. Write w =3(n 1 r) + 2, where 16r6n 1. If n62r 2 3 then w6(3n= 2 3(n 1)=2 and 6n 2w 4=6r 2 3n and the result follows from Proposition 3.1. On the other hand, if n 2r 2 3 then n 2r and 6n 2w 4=6r 2 3n and the result follows from Theorem 3.3(ii). Finally, we return to our initial question when each team is not restricted to using the same 3 players in every match. We show that the list can contain a maximum of 39 names, when n = 12, p =3, = 2 3, =0:60. According to the rules, to qualify for the list a player needs to play in at least 8 matches and win at least 15; 17; 18; 20;:::; games if he plays in 8; 9; 10; 11;:::; matches. In (2.1) we have m =8, w = 15, and so have that 39 is an upper bound on the length of the list, and that each team can have at most 4 players on the list. We describe a pattern of wins that achieves the upper bound of 39. Team i contributes 3 players A i ;B i ;C i to the list if 16i69 and 4 players A i ;B i ;C i ;D i to the list if 106i612. Each player D i plays 9 matches and has 18 wins, two in each match. Each player A i ;B i ;C i plays 8 matches and has 15 wins. In the matches that involve only teams 10,11,12 each team i elds players A i ;B i ;C i and by Proposition 3.1(i) we may let each player win exactly half his games, and so these players each win 3 games from 2 matches. For 16i69 and 16j69 let team i win all games against team j for j i +1; i +2;i+3;i+ 4 mod 9 and eld players A i ;B i ;C i for these matches, but lose all games against team j for j i 1;i 2;i 3;i 4mod 9. Player A i plays in the match against team j for j i 1 mod 9, player B i plays in the match against team j for j i 2 mod 9 and player C i plays in the match against team j for j i 3 mod 9, but new players in team i ll the remaining 2 match places against teams j for j i 1;i 2;i 3mod 9 and the 3 match places against team j for j i 4 mod 9 and lose all their games. Thus, for 16i69 each of players A i ;B i ;C i plays 5 matches and gets 12 wins from the matches that involve only teams 1; 2;:::;9. In the match between team i and team j, where 16i69 and 106j612, team i elds players A i ;B i ;C i and team j elds players A j ;B j ;D j when 16i63, players A j ;C j ;D j when 46i66 and players B j ;C j ;D j when 76i69. In each such match, each player from team i wins 1 game and each player from team j wins 2 games (a possible outcome by Corollary 2.5, or from rst principles). Thus, for 16i69 each player A i ;B i ;C i plays 3 matches and gets 3 wins from these matches, whereas for 106j612 each player A j ;B j ;C j plays 6 matches and gets 12 wins, and each player D j plays 9 matches and gets 18 wins.

288 M.H. Eggar / Discrete Mathematics 263 (2003) 281 288 It is an open problem to nd the solution for the general case of any given values of P; p; n; ;. References [1] J. Bang-Jensen, G. Gutin, Digraphs Theory, Algorithms and Applications, Springer Monographs in Mathematics, Springer, London, 2001. [2] V. Bryant, Aspects of Combinatorics, Cambridge University Press, Cambridge, 1993. [3] J.W. Moon, Topics on Tournaments, Holt, Rinehart and Winston, New York, London, 1968.