On the grasshopper problem with signed jumps

Similar documents
Problems and Results in Additive Combinatorics

On Snevily s Conjecture and Related Topics

On Zeros of a Polynomial in a Finite Grid: the Alon-Füredi Bound

Additive Latin Transversals

SYMMETRIC POLYNOMIALS

Linear Systems and Matrices

Apprentice Program: Linear Algebra

J. Combin. Theory Ser. A 116(2009), no. 8, A NEW EXTENSION OF THE ERDŐS-HEILBRONN CONJECTURE

An algorithm to increase the node-connectivity of a digraph by one

Factorization in Integral Domains II

Factorization in Polynomial Rings

Analytic Number Theory Solutions

#A45 INTEGERS 9 (2009), BALANCED SUBSET SUMS IN DENSE SETS OF INTEGERS. Gyula Károlyi 1. H 1117, Hungary

0 Sets and Induction. Sets

Maximum union-free subfamilies

Written Homework # 4 Solution

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

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

Week 4-5: Generating Permutations and Combinations

Roots of Polynomials in Subgroups of F p and Applications to Congruences

ABSTRACT. Department of Mathematics. interesting results. A graph on n vertices is represented by a polynomial in n

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 2: HILBERT S NULLSTELLENSATZ.

GENERATING IDEALS IN SUBRINGS OF K[[X]] VIA NUMERICAL SEMIGROUPS

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Lecture 7: Schwartz-Zippel Lemma, Perfect Matching. 1.1 Polynomial Identity Testing and Schwartz-Zippel Lemma

Sequences of height 1 primes in Z[X]

Week 15-16: Combinatorial Design

Downloaded 03/01/17 to Redistribution subject to SIAM license or copyright; see

MATH 326: RINGS AND MODULES STEFAN GILLE

ON SUM OF SQUARES DECOMPOSITION FOR A BIQUADRATIC MATRIX FUNCTION

Unmixed Graphs that are Domains

Some extensions of Alon s Nullstellensatz

FREE PRODUCTS AND BRITTON S LEMMA

Example: This theorem is the easiest way to test an ideal (or an element) is prime. Z[x] (x)

Mathematical Olympiad Training Polynomials

8. Prime Factorization and Primary Decompositions

Periodic decomposition of measurable integer valued functions

UMA Putnam Talk LINEAR ALGEBRA TRICKS FOR THE PUTNAM

A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ

Notes on the Matrix-Tree theorem and Cayley s tree enumerator

CPSC 536N: Randomized Algorithms Term 2. Lecture 9

A division algorithm

Excluded permutation matrices and the Stanley Wilf conjecture

HAMBURGER BEITRÄGE ZUR MATHEMATIK

Definition 2.3. We define addition and multiplication of matrices as follows.

arxiv: v1 [math.co] 13 May 2016

Solutions to the 74th William Lowell Putnam Mathematical Competition Saturday, December 7, 2013

Standard forms for writing numbers

arxiv: v1 [math.co] 30 Nov 2016

arxiv: v1 [math.gr] 3 Feb 2019

Chapter 2: Linear Independence and Bases

PRIME NUMBERS YANKI LEKILI

THE CLOSED-POINT ZARISKI TOPOLOGY FOR IRREDUCIBLE REPRESENTATIONS. K. R. Goodearl and E. S. Letzter

Mathematical Reasoning & Proofs

ABSTRACT ALGEBRA MODULUS SPRING 2006 by Jutta Hausen, University of Houston

Partition of Integers into Distinct Summands with Upper Bounds. Partition of Integers into Even Summands. An Example

Factorization of integer-valued polynomials with square-free denominator

Bipartite Perfect Matching

Reconstruction from subwords

Linear Point Sets and Rédei Type k-blocking

PRACTICE PROBLEMS: SET 1

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

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

arxiv: v4 [math.co] 30 Mar 2009

Lecture 6: Finite Fields

CHAPTER 10: POLYNOMIALS (DRAFT)

Reachability of recurrent positions in the chip-firing game

ASSIGNMENT 1 SOLUTIONS

Infinite-Dimensional Triangularization

1 Sequences and Summation

CHAPTER 3: THE INTEGERS Z

However another possibility is

88 CHAPTER 3. SYMMETRIES

Lesson 11: The Special Role of Zero in Factoring

12. Hilbert Polynomials and Bézout s Theorem

Counting bases of representable matroids

TOPOLOGICAL COMPLEXITY OF 2-TORSION LENS SPACES AND ku-(co)homology

On Systems of Diagonal Forms II

VARGA S THEOREM IN NUMBER FIELDS

Constructions with ruler and compass.

ACI-matrices all of whose completions have the same rank

arxiv: v1 [math.co] 22 Jan 2018

Probabilistic Proofs of Existence of Rare Events. Noga Alon

5 Set Operations, Functions, and Counting

9 - The Combinatorial Nullstellensatz

Higher-Dimensional Analogues of the Combinatorial Nullstellensatz

Algebraic Methods in Combinatorics

Reachability-based matroid-restricted packing of arborescences

Chapter 5: Integer Compositions and Partitions and Set Partitions

Numerical Analysis: Interpolation Part 1

Polynomial Rings. i=0. i=0. n+m. i=0. k=0

Isomorphisms between pattern classes

CHAPTER I. Rings. Definition A ring R is a set with two binary operations, addition + and

Arithmetic Progressions with Constant Weight

Positive entries of stable matrices

Finite Elements. Colin Cotter. January 18, Colin Cotter FEM

Generating Permutations and Combinations

Representations of All Solutions of Boolean Programming Problems

Additional Constructions to Solve the Generalized Russian Cards Problem using Combinatorial Designs

ON TWO QUESTIONS ABOUT CIRCULAR CHOOSABILITY

Transcription:

On the grasshopper problem with signed jumps Géza Kós Abstract arxiv:1008.2936v3 [math.co] 15 Aug 2011 The 6th problem of the 50th International Mathematical Olympiad IMO), held in Germany, 2009, was the following. Let a 1,a 2,...,a n be distinct positive integers and let M be a set of n 1 positive integers not containing s = a 1 +a 2 + +a n. A grasshopper is to jump along the real axis, starting at the point 0 and making n jumps to the right with lengths a 1,a 2,...,a n in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in M. In this paper we consider a variant of the IMO problem when the numbers a 1,a 2,...,a n can be negative as well. We find the sharp minimum of the cardinality of the set M which blocks the grasshopper, in terms of n. In contrast with the Olympiad problem where the known solutions are purely combinatorial, for the solution of the modified problem we use the polynomial method. 1 Introduction 1.1 The original Olympiad problem The 6th problem of the 50th International Mathematical Olympiad IMO), held in Germany, 2009, was the following. Let a 1,a 2,...,a n be distinct positive integers and let M be a set of n 1 positive integers not containing s = a 1 + a 2 + + a n. A grasshopper is to jump along the real axis, starting at the point 0 and making n jumps to the right with lengths a 1,a 2,...,a n in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in M. For n 2 the statement of the problem is sharp. For arbitrary positive numbers a 1,...,a n it is easy to find a mine field M of n mines which makes the grasshopper s job impossible. Such sets are, for example, M 1 = {a 1,a 2,...,a n } and M 2 = {s a 1,...,s a n }. In special cases more examples can be found; for example if a 1,a 2,...,a n ) = 1,2,...,n) then any n consecutive integers between 0 and s block the grasshopper. The problem has been discussed in many on-line forums, as much by communities of students as by senior mathematicians; see, for example, the Art of Problem Solving/ Mathlinks forum [5] or Terence Tao s Mini-polymath project [6]. Up to now, all known solutions to the Olympiad problem are elementary and inductive. 1

1.2 Attempts to use the polynomial method Some students at the test, who were familiar with the polynomial method, tried to apply Noga Alon s combinatorial Nullstellensatz see Lemmas 1.1 and 1.2 in [2]). In this technique the problem is encoded via a polynomial whose nonzeros are solutions in some given domain. A powerful tool to prove the existence of a point where the polynomial does not vanish is the so-called combinatorial Nullstellensatz. Lemma 1 Nonvanishing criterion of the combinatorial Nullstellensatz). Let S 1,...,S n be nonempty subsets of a field F, and let t 1,...,t n be nonnegative integers such that t i < S i for i = 1,2...,n. Let Px 1,...,x n ) be a polynomial over F with total degree t 1 + +t n, and suppose that the coefficient of x t 1 1 x t 2 2 x tn n in Px 1,...,x n ) is nonzero. Then there exist elements s 1 S 1,..., s n S n for which Ps 1,...,s n ) 0. If we want to use the combinatorial Nullstellensatz to solve the grasshopper problem, it seems promising to choose S 1 = = S n = {a 1,...,a n } and the polynomial where Px 1,...,x n ) = Vx 1,...,x n ) Vx 1,...,x n ) = 1 i<j n n 1 m M x j x i ) = π Symn) x1 + +x l ) m ) 1) sgnπ) x π2) x 2 π3) xn 1 πn) is the so-called Vandermonde polynomial see, for example, [1, pp. 346 347]), the symbol Symn)denotesthegroupofthepermutationsofthesequence 1,2,...,n), andsgnπ)denotes the sign of the permutation π. If there exist some values s 1,...,s n {a 1,...,a n } such that Ps 1,...,s n ) 0, then it follows that the grasshopper can choose the jumps s 1,...,s n. The value of the Vandermonde polynomial is nonzero if and only if the jumps s 1,...,s n are distinct, i.e., s 1,...,s n ) is a permutationofa 1,...,a n ), andanonzerovalueofthedoubleproductontheright-handsideof 1) indicates that this order of jumps provides a safe route to the point s. Similar polynomials appear in various applications of the combinatorial Nullstellensatz; see, for example, [3] or [4].) The first difficulty we can recognize is that the degree is too high. To apply the combinatorial Nullstellensatz to the sets S 1 = = S n = {a 1,...,a n }, we need degp = t 1 + +t n nn 1), while the degree of our polynomial Px 1,...,x n ) is 1 3n 2)n 1). But there is 2 another, less obtrusive deficiency: this approach does not use the condition that the numbers a 1,...,a n are positive. We may ask: is this condition really important? What happens if this condition is omitted? In this paper we answer these questions. 1.3 Modified problem with signed jumps We consider a modified problem in which the numbers a 1,...,a n are allowed to be negative as well as positive. A positive value means that the grasshopper jumps to the right, while a negative value means a jump to the left. We determine the minimal size, in terms of n, of a set M that blocks the grasshopper. Optionally we may allow or prohibit the value 0 among the numbers a 1,...,a n ; such a case means that the grasshopper hops to the same position. This option does not make a significant difference, but affects the maximal size of the set M. 2

In order to find a sharp answer, let us collect a few simple cases when the grasshopper gets blocked. Table 1 shows three such examples. If n is odd, the size of the set M is different if hops are allowed or prohibited. Case {a 1,a 2,...,a n } M n = { k +1,...,k +1}\{0} {1,...,k +1} n = +1; hops allowed { k +1,...,k +1} {1,...,k +1} n = +1; hops prohibited { k +1,...,k +2}\{0} {1,...,k +2} Table 1: Simple cases when the grasshopper is blocked. In Section 2 we show that these examples are minimal: if the size of the set M is smaller than in the examples above then the desired order of jumps exists, as stated in the next theorem, which is our main result in this paper. Theorem 1. Suppose that a 1,a 2,...,a n are distinct integers and M is a set of integers with n M. Then there exists a permutation b 1,...,b n ) of the sequence a 1,...,a n ) such 2 that none of the sums b 1, b 1 +b 2,..., b 1 +b 2 + +b n 1 is an element of M. n+1 If the numbers a 1,a 2,...,a n are all nonzero, then the same holds for M as 2 well. Notice that in the modified problem the set M contains fewer mines than in the statement in the Olympiad problem. This resolves the difficulties about the degree of the polynomial, allowing us to use the polynomial method. 2 Solution to the modified problem In Sections 2.1 and 2.2 we prove Theorem 1 in the particular case when n is even. For the proof we use the polynomial method. The approach we follow does not apply the combinatorial Nullstellensatz directly, but there is a close connection to it; the connection between the two methods is discussed in Section 2.3. Finally, Theorem 1 is proved for odd values of n in Section 2.4. 2.1 Setting up the polynomials when n is even Throughout Sections 2.1 2.3 we assume that n =. Since we can add arbitrary extra elements to the set M, we can also assume M = k without loss of generality. Define the polynomial Qx 1,...,x ) = π Sym) sgnπ) m M xπ1) +x π2) + +x πl) ) m ) 2) and consider the number Qa 1,...,a ). If Qa 1,...,a ) 0 then there is a permutation π Sym) for which aπ1) +a π2) + +a πl) ) m ) 0. m M 3

This relation holds if and only if the numbers a π1), a π1) +a π2),..., a π1) +a π2) + +a π) all differ from the elements of M. Hence, it is sufficient to prove Qa 1,...,a ) 0. Since Q is an alternating polynomial, it is a multiple of the Vandermonde polynomial Vx 1,...,x ) we refer again to [1, pp. 346 347]). The degree of Q is at most k 1), which matches the degree of V, so Qx 1,x 2,...,x ) = 1) k c k Vx 1,x 2,...,x ) 3) for some constant c k. The sign 1) k on the right-hand side is inserted for convenience, to make the coefficient of x1 x2 2 x positive.) Substituting a 1,...,a, we obtain Qa 1,a 2,...,a ) = 1) k c k Va 1,a 2,...,a ). Since a 1,...,a are distinct, Va 1,a 2,...,a ) 0. So it is left to prove c k 0. The equation 3) shows that the polynomial Q and the constant c k do not depend on the set M; the mines are canceled out. Therefore we get the same polynomial if all mines are replaced by 0: Qx 1,...,x ) = π Sym) sgnπ) Hence, the constant c k depends only on the value of k. xπ1) + +x πl) ) k = 1) k c k Vx 1,...,x ). Due to the complexity of the polynomial Q, it is not straightforward to access the constant c k. The first values are listed in Table 2. c 1 = 1 c 6 = 7886133184567796056800 c 2 = 2 c 7 8.587 10 34 c 3 = 90 c 8 4.594 10 51 c 4 = 586656 c 9 2.060 10 72 c 5 = 1915103977500 c 10 1.237 10 97 Table 2: Values of c k for small k. 2.2 Proof of c k 0 We prove a more general statement which contains c k > 0 as a special case. Definition 1. For every n 1 and pair u,v 0 of integers, define the polynomial Q n,u,v) x 1,...,x n ) = n 1 ) ) u sgnπ) xπ1) + +x πl) x 1 + +x n ) v. 4) π Symn) In the case n = 1, when the product n 1...)u is empty, let Q 1,u,v) x 1 ) = x v 1. For every sequence d 1 d n 0 of integers, denote by the coefficient of the monomial x d 1 1 xdn n in Qn,u,v). For convenience, define = 0 for d n < 0 as well. 4

Since the polynomial Q n,u,v) is alternating, we have = 0 whenever d i = d i+1 for some index 1 i < n, and we can write Q n,u,v) x 1,...,x n ) = d 1 > >d n 0 Lemma 2. If n 2 and d 1 > > d n 0 then Proof. Consider the polynomial α n,u,0) = Q n,u,0) x 1,...,x n ) = π Symn) { α n 1,u,u) 1 if d n = 0; 0 if d n > 0. π Symn) sgnπ)x d 1 π1) xd 2 π2) xdn πn). 5) n 1 ) u sgnπ) xπ1) + +x πl). The product n 1 ) u xπ1) + +x πl) does not contain the variable xπn). Therefore the term x d 1 1 xd n 1 n 1 xdn n can occur only for d n = 0 and πn) = n. Summing over such permutations, π Symn), πn)=n n 1 ) u sgnπ) xπ1) + +x πl) = Q n 1,u,u) x 1,...,x n 1 ). Hence, the coefficients of x d 1 1 x d n 1 n 1 in the polynomials Q n,u,0) and Q n 1,u,u) are the same. Lemma 3. If v 1 and d 1 > > d n 0 then = n i=1 α n,u,v 1) d 1,...,d i 1,d i 1,d i+1,...,d n. Proof. By the definition of the polynomial Q n,u,v), we have Q n,u,v) x 1,...,x n ) = x 1 + +x n ) Q n,u,v 1) x 1,...,x n ) n = x i Q n,u,v 1) x 1,...,x n ). i=1 On the left-hand side, the coefficient of x d 1 1 x dn n coefficient of x d 1 1 x dn n in x i Q n,u,v 1) is α n,u,v 1) d 1,...,d i 1,d i 1,d i+1,...,d n. Lemma 4. If n 1, u,v 0, and d 1 > > d n 0 then 0. is αn,u,v). On the right-hand side, the Proof. Apply induction on the value of nu+1)+v. If n = 1 then we have Q 1,u,v) x 1 ) = x v 1, and the only nonzero coefficient is positive. Now suppose that n 2, and the induction hypothesis holds for all cases when nu+1)+v is smaller. Then the induction step is provided by Lemma 2 for v = 0, and by Lemma 3 for v 1. 5

Lemma 5. Suppose that n 1, u n/2, v 0, and d 1 > > d n 0 are integers such that d 1 + +d n = n 1)u+v and d n v. Then > 0. Proof. Apply induction on the value of nu+1)+v. In case n = 1 the condition d 1 + +d n = n 1)u+v reduces to d 1 = v. Then we have Q 1,u,v) x 1 ) = x v 1 and thus αn,u,v) d 1 = 1 > 0. Now suppose that n 2 and the induction hypothesis holds for all cases when nu+1)+v is smaller. We consider two cases, depending on the value of v. Case 1: v = 0. From the condition d n v we get d n = 0. Then, by Lemma 2, α n,u,0) 1,0 = αn 1,u,u) 1. Applytheinductionhypothesiston,u,v ) = n 1,u,u)andd 1,...,d n 1 ) = d 1,...,d n 1 ). The condition u n /2 is satisfied, because u = u n/2 > n /2. Since v = d n = 0, we have Finally, d 1 +d 2 + +d n = d 1 +d 2 + +d n 1 +d n = n 1)u = n 1)u +v. d n = d n 1 d 1 +d 2 + +d n 1 n 1 = u = v. Hence, the numbers n,u,v, and d 1,...,d n 1 satisfy the conditions of the lemma. By the induction hypothesis and Lemma 2 we can conclude Case 2: v > 0. By Lemma 3, we have 1,d n = α n,u,0) 1,0 = αn 1,u,u) 1 > 0. = n i=1 α n,u,v 1) d 1,...,d i 1,d i 1,d i+1,...,d n. By Lemma 4, all terms are nonnegative on the right-hand side. We show that there is at least one positive term among them. Since d 1 + +d n = n 1)u+v n 1) n +1 > n 1)+n 2)+ +1+0, 2 there exists an index i, 1 i n, for which d i > n i. Let i 0 be the largest such index. If i 0 < n then d i0 1 > d i0 +1. Otherwise, if i 0 = n, we have d n 1 0. Now apply the induction hypothesis to n,u,v ) = n,u,v 1) and d 1,...,d n) = d 1,...,d i0 1,d i0 1,d i0 +1,...,d n ). By the choice of i 0 we have d 1 > > d n 0. The conditionu n /2obviouslysatisfied. Finally, d n v holds, too,duetod n = maxd n 1,0) v 1. Hence, the induction hypothesis can be applied and we conclude α n,u,v 1) d 1,...,d i0 1,d i0 1,d i0 +1,...,d n > 0. 6

Corollary 1. c k > 0 for every positive integer k. Proof. Apply Lemma 5 with n =, u = k, v = 0, andd 1,...,d ) =, 2,...,1,0). The conditions of the lemma are satisfied, so c k = α,k,0), 2,...,1,0 > 0. Corollary 1 completes the proof of Theorem 1 when n is even. 2.3 An alternative approach using the combinatorial Nullstellensatz It is natural to ask whether the combinatorial Nullstellensatz is applicable to solve the modified problem, as was mentioned in the introduction. As in Section 1.1, let S 1 = = S = {a 1,...,a }, t 1 = = t = 1, and consider the polynomial Px 1,...,x ) = Vx 1,x 2,...,x ) m M x1 +x 2 + +x l ) m ). The total degree of P is 2) + 1)k = 1). To apply the nonvanishing lemma, it is sufficient to prove that the coefficient of the monomial x1 x2 x in P is nonzero. We show this coefficient is exactly c k. Compare the coefficient of x1 x2 x in the polynomials Px 1,...,x ) = P 1 x 1,...,x ) = π Sym) π Sym) sgnπ)x π2) x 2 π3) x π) sgnπ)x π2) x 2 π3) x π) m M x1 + +x l ) m) ), x 1 + +x l ) k, and P 2 x 1,...,x ) = π Sym) sgnπ)x 2 x 2 3 x x π 1 1) + +x π 1 l)) k = x 2 x 2 3 x Qx 1,...,x ) = c k x 2 x 2 3 x 1) k Vx 1,...,x ) = c k x 2 x 2 3 x Vx,...,x 1 ). 6) The difference between P and P 1 is only in the constants m; the maximal degree terms are the same. For a fixed π Sym), the polynomials x π2) x 2 π3) x π) x 1 + +x l ) k 7

and x 2 x 2 3 x x π 1 1) + +x π 1 l)) k differonlyintheorderofthevariables. Hence, thecoefficientsofthemonomialx 1 x 2 x are the same in P, P 1, and P 2. From the last line of 6) it can be seen that this coefficient is c k. Hence, the method of alternating sums Section 2.1) and applying the combinatorial Nullstellensatz as above are closely related and lead to the same difficulty, i.e., to proving c k 0. 2.4 The case of odd n Now we finish the proof of Theorem 1. Let n = +1 be an odd number. The case n = 1 is trivial, so assume k 1. The proof works by inserting the value 0 into, or removing it from, the list a 1,...,a n of jumps and then applying Theorem 1 in the even case which is already proved. Case 1: The value 0 appears among a 1,...,a +1. Without loss of generality we can assume a +1 = 0. Suppose M n/2 = k, and apply Theorem 1 to the numbers a 1,...,a and the set M. The theorem provides a permutation b 1,...,b ) of a 1,...,a ) such that b 1, b 1 + b 2,..., b 1 + + b are not elements of M. Insert the value 0 somewhere in the middle, say between the first and second positions. Then b 1,0,b 2,...,b ) is a permutation of a 1,...,a,0), with all the required properties. Case 2: The numbers a 1,...,a +1 are all nonzero. Suppose M n+1)/2 = k +1, and applytheorem1tothenumbersa 1,...,a +1,a +2 = 0andthesetM. Bythetheorem, there is a permutation b 1,...,b +2 ) of a 1,...,a +1,0) such that none of b 1,..., b 1 + +b +1 is an element of M. Deleting the value 0 from the sequence b 1,...,b +2 ), we obtain the permutation we want. 3 Closing remarks The high degree of P prevented the application of Alon s combinatorial Nullstellensatz from solving the original Olympiad problem. We have demonstrated that if the constraint that the jumps are positive is removed, it allows us to use the polynomial method. This also shows that the sign condition was the real reason behind the degree being too high. 3.1 Extension to finite fields Finite fields and commutative groups need further consideration. The examples in Table 1 are also valid in cyclic additive) groups, in particular in prime fields. However, our proof does not work directly for prime fields, because the constants c k have huge prime divisors, as demonstrated below. c 3 = 2 3 2 5 c 4 = 2 5 3 3 7 97 c 5 = 2 2 3 5 4 7 79 103 4483 c 6 = 2 5 3 6 5 2 11 23 223 239 1002820739. 8

So, for finite fields and groups, the problem is not yet closed. 3.2 Alternating sums vs. combinatorial Nullstellensatz When we need a permutation of a finite sequence of numbers with some required property, the method applied in Section 2.1 can be a replacement for the combinatorial Nullstellensatz. Let a 1,...,a n be distinct elements of a field F, and let R F[x 1,...,x n ] be a polynomial with degree n 2). Suppose that we need a permutation b1,...,b n ) of a 1,...,a n ) such that Rb 1,...,b n ) 0. For such problems, it has become standard to apply the combinatorial Nullstellensatz to the polynomial V R. The method we used is different: we considered the value sgnπ)ra π1),...,a πn) ) = c Va 1,a 2,...,a n ) 7) π Symn) where the constant c is up to the sign) the same as the coefficient of x1 n 1 xn n 1 polynomial Vx 1,...,x n ) Rx 1,...,x n ), as was emphasized in Section 2.3. in the Note, however, that it is easy to extend the alternating sum approach of 7) to a more general setting. By inserting an arbitrary auxiliary polynomial A F[x 1,...,x n ], we may consider the number sgnπ) Ra π1),...,a πn) ) Aa π1),...,a πn) ) 8) π Symn) as well. It may happen that the sum in 8) is not 0 even when the sum of 7) vanishes. Appendix: A solution for the Olympiad problem For the sake of completeness, we outline a solution for the original Olympiad problem in which all jumps were positive. We prove the following statement. Theorem. Suppose that a 1,a 2,...,a n are distinct positive real numbers and let M be a set of at most n 1 real numbers. Then there exists a permutation i 1,...,i n ) of 1,2,...,n) such that none of the numbers a i1 +a i2 + +a ik 1 k n 1) is an element of M. Proof. We employ induction on n. In the case of n = 1 the statement is trivial since the set M is empty; moreover there is no k with 1 k n 1. Suppose that n 2 and the statement is true for all smaller values. Without loss of generality, wecanassumethata n isthegreatestamonga 1,a 2,...,a n. Sincewecaninsertextra elements into M, we can also assume that M has n 1 elements which are m 1 < < m n 1. If a 1 + +a n 1 < m 1 thenwe canchoosei n = nandany orderof theindices 1,2,...,n 1. So we can assume m 1 a 1 + +a n 1 as well. We consider two cases. Case 1: a n M. Let l be the index for which a n = m l, and let M = {m 1,...,m l 1 } {m l+1 a n,...,m n 1 a n }. By applying the induction hypothesis to the jumps a 1,...,a n 1 and the set M, we get a permutation j 1,...,j n 1 ) of the indices 1,2,...,n 1) such that a j1 +a j2 + +a jk M for any k such that 1 k n 2. Choose i 1,...,i n ) = j 1,n,j 2,j 3,...,j n 1 ). Weclaimthat thispermutationof1,2,...,n) satisfies the required property. 9

By the choice of i 1, we have a i1 = a j1 {m 1,...,m l 1 }. Since a i1 < a n = m l, it follows that a i1 {m l,...,m n 1 } and thus a i1 M. For 2 k n 1 we have a i1 + +a ik a j1 +a n > m l, so a i1 + +a ik {m 1,...,m l }. Moreover, since a j1 + +a jk 1 {m l+1 a n,...,m n 1 a n }, we also have a i1 + +a ik = a j1 + +a jk 1 +a n {m l+1,...,m n 1 }. Hence, a i1 + +a ik M. Case 2: a n M. Let M = {m 2 a n,...,m n 1 a n }, and apply the induction hypothesis to the jumps a 1,...,a n 1 and the set M. We get a permutation j 1,...,j n 1 ) of 1,2,...,n 1) such that a j1 +a j2 + +a jk M for any k with 1 k n 2. Let l, 1 l n 1, be the first index for which a j1 + + a jl m 1. By the assumption m 1 a 1 + + a n 1, there exists such an index.) Then choose i 1,...,i n ) = j 1,...,j l 1,n,j l,...,j n 1 ). If l = 1, choose n,j 1,...,j n 1 ).) We show that this permutation fulfills the desired property. For 1 k l 1 we have a i1 + +a ik a j1 + +a jl 1 < m 1, so a i1 + +a ik M. For l k n 1 we have a i1 + +a ik a j1 + +a jl 1+a n > a j1 + +a jl 1+a jl m 1. Sincea j1 + +a jk 1 M,itfollowsthata i1 + +a ik = a j1 + +a jk 1 +a n {m 2,...,m n 1 }. Hence, a i1 + +a ik M. Acknowledgments. Discussions on the subject with Lajos Rónyai are gratefully acknowledged. This work was supported in part by OTKA grant NK72845. References [1] M. Aigner, A Course in Enumeration, Springer-Verlag, Berlin, 2007. [2] N. Alon, Combinatorial Nullstellensatz, Combin. Probab. Comput. 8 1999) 7 29. [3], Additive Latin transversals, Israel J. Math. 117 2000) 125 130 [4] S. Dasgupta, Gy. Károlyi, O. Serra, and B. Szegedy, Tranversals of additive Latin squares, Israel J. Math. 126 2001) 17 28 [5] D. Khramtsov, IMO 2009, Problem 6, available at http://www.artofproblemsolving.com/forum/viewtopic.php?t=289051. [6] T. Tao, IMO 2009 Q6 as a mini-polymath project, available at http://terrytao.wordpress.com/2009/07/20/imo-2009-q6-as-a-mini-polymath-project. Géza Kós received his Ph.D. from Loránd Eötvös University in Budapest, where he currently teaches real and complex analysis. He is a member of the editorial board of KöMaL. He has served on the problem selection committee of the International Mathematical Olympiad in 2006, 2007, 2008, and 2010. Department of Analysis, Loránd Eötvös University, Pázmány s. 1/c, Budapest, Hungary Computer and Automation Research Institute, Kende u. 13-17, Budapest, Hungary kosgeza@sztaki.hu 10