Solving a linear equation in a set of integers II

Similar documents
Arithmetic progressions in sumsets

On the maximal density of sum-free sets

Subset sums modulo a prime

Equidivisible consecutive integers

ON THE LIMIT POINTS OF THE FRACTIONAL PARTS OF POWERS OF PISOT NUMBERS

ANSWER TO A QUESTION BY BURR AND ERDŐS ON RESTRICTED ADDITION, AND RELATED RESULTS Mathematics Subject Classification: 11B05, 11B13, 11P99

ON A PROBLEM OF PILLAI AND ITS GENERALIZATIONS

Fermat numbers and integers of the form a k + a l + p α

Roth s theorem on 3-arithmetic progressions. CIMPA Research school Shillong 2013

MATH 51H Section 4. October 16, Recall what it means for a function between metric spaces to be continuous:

MATH41011/MATH61011: FOURIER SERIES AND LEBESGUE INTEGRATION. Extra Reading Material for Level 4 and Level 6

Some problems related to Singer sets

Small Sets Which Meet All the k(n)-term Arithmetic Progressions in the Interval [1;n]

2.2 Some Consequences of the Completeness Axiom

Arithmetic Progressions with Constant Weight

Modular Arithmetic Instructor: Marizza Bailey Name:

Chapter One. The Real Number System

Maths 212: Homework Solutions

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

COUNTING NUMERICAL SEMIGROUPS BY GENUS AND SOME CASES OF A QUESTION OF WILF

arxiv:math/ v2 [math.nt] 3 Dec 2003

ARITHMETIC PROGRESSIONS IN SPARSE SUMSETS. Dedicated to Ron Graham on the occasion of his 70 th birthday

A NEW PROOF OF ROTH S THEOREM ON ARITHMETIC PROGRESSIONS

1. multiplication is commutative and associative;

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

The small ball property in Banach spaces (quantitative results)

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

RESEARCH PROBLEMS IN NUMBER THEORY

ON THE LINEAR INDEPENDENCE OF THE SET OF DIRICHLET EXPONENTS

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

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?

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

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

The Impossibility of Certain Types of Carmichael Numbers

Math 110 HW 3 solutions

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

Roth s Theorem on Arithmetic Progressions

A LOWER BOUND FOR THE SIZE OF A MINKOWSKI SUM OF DILATES. 1. Introduction

A PROOF OF ROTH S THEOREM ON ARITHMETIC PROGRESSIONS

Series of Error Terms for Rational Approximations of Irrational Numbers

Chapter 1. Measure Spaces. 1.1 Algebras and σ algebras of sets Notation and preliminaries

METRIC HEIGHTS ON AN ABELIAN GROUP

EGYPTIAN FRACTIONS WITH EACH DENOMINATOR HAVING THREE DISTINCT PRIME DIVISORS

PATTERNS OF PRIMES IN ARITHMETIC PROGRESSIONS

Ahlswede Khachatrian Theorems: Weighted, Infinite, and Hamming

On the Density of Sequences of Integers the Sum of No Two of Which is a Square II. General Sequences

On the power-free parts of consecutive integers

Introduction to Real Analysis Alternative Chapter 1

Approximation exponents for algebraic functions in positive characteristic

Squares in products with terms in an arithmetic progression

BURGESS INEQUALITY IN F p 2. Mei-Chu Chang

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

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

MATH CSE20 Homework 5 Due Monday November 4

Products of Factorials Modulo p

0 Sets and Induction. Sets

Behrend s Theorem for Sequences Containing No k-element Arithmetic Progression of a Certain Type

Maximum subsets of (0, 1] with no solutions to x + y = kz

PERIODICITY OF SOME RECURRENCE SEQUENCES MODULO M

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

SUMSETS MOD p ØYSTEIN J. RØDSETH

64 P. ERDOS AND E. G. STRAUS It is possible that (1.1) has only a finite number of solutions for fixed t and variable k > 2, but we cannot prove this

Katarzyna Mieczkowska

ON THE POSSIBLE QUANTITIES OF FIBONACCI NUMBERS THAT OCCUR IN SOME TYPES OF INTERVALS

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

Chapter 4. Measure Theory. 1. Measure Spaces

Discrete Mathematics with Applications MATH236

On prime factors of subset sums

Baltic Way 2008 Gdańsk, November 8, 2008

Journal of Number Theory

NUMBERS WITH INTEGER COMPLEXITY CLOSE TO THE LOWER BOUND

1 Topology Definition of a topology Basis (Base) of a topology The subspace topology & the product topology on X Y 3

Vinogradov s mean value theorem and its associated restriction theory via efficient congruencing.

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

GAPS BETWEEN FRACTIONAL PARTS, AND ADDITIVE COMBINATORICS. Antal Balog, Andrew Granville and Jozsef Solymosi

Walk through Combinatorics: Sumset inequalities.

MATH 115, SUMMER 2012 LECTURE 4 THURSDAY, JUNE 21ST

Jeong-Hyun Kang Department of Mathematics, University of West Georgia, Carrollton, GA

DR.RUPNATHJI( DR.RUPAK NATH )

SOME CONGRUENCES ASSOCIATED WITH THE EQUATION X α = X β IN CERTAIN FINITE SEMIGROUPS

The cocycle lattice of binary matroids

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?

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

Unique Difference Bases of Z

Roth s Theorem on Arithmetic Progressions

MATH FINAL EXAM REVIEW HINTS

On a combinatorial method for counting smooth numbers in sets of integers

Problem Set 2: Solutions Math 201A: Fall 2016

Antoni Marczyk A NOTE ON ARBITRARILY VERTEX DECOMPOSABLE GRAPHS

SPECIAL CASES OF THE CLASS NUMBER FORMULA

Note on Vertex-Disjoint Cycles

ON POLYNOMIAL REPRESENTATION FUNCTIONS FOR MULTILINEAR FORMS. 1. Introduction

Non-averaging subsets and non-vanishing transversals

Notions of Size and Combinatorial Properties of Quotient Sets in Semigroups. 1. Introduction.

PRACTICE PROBLEMS: SET 1

On infinite permutations

Sidon sets and C 4 -saturated graphs

32 Divisibility Theory in Integral Domains

Number Theory Homework.

Transcription:

ACTA ARITHMETICA LXXII.4 (1995) Solving a linear equation in a set of integers II by Imre Z. Ruzsa (Budapest) 1. Introduction. We continue the study of linear equations started in Part I of this paper. Let (a i ) 1 i k and b be integers. We try to solve the equation (1.1) a 1 x 1 +... + a k x k = b with x 1,..., x k in a prescribed set of integers. We saw that the vanishing of the constant term b and the sum of coefficients s = a 1 +... + a k had a strong effect on the behaviour of equation (1.1). The condition b = is equivalent to homogeneity or multiplication invariance (if x 1,..., x k is a solution, so is tx 1,..., tx k ), while s = means translation invariance (if x 1,..., x k is a solution, so is x 1 +t,..., x k +t). We called equations with b = s = invariant, and those with b or s noninvariant. In Part I of the paper we studied invariant equations; now we treat noninvariant ones. We recall the principal notations. Definition 1.1. Let r(n) = max{ A : A [1, N]} over sets A such that equation (1.1) has no nontrivial solution with x i A, and let R(N) be the analogous maximum over sets such that equation (1.1) has no solution with distinct integers x i A. Trivial and nontrivial solutions were also defined in Part I; we recall that only invariant equations have trivial solutions, so in the noninvariant case r(n) is simply the size of the maximal subset of {1,..., N} without a solution. The vanishing of b and s affect the behaviour of r(n). The following result can be considered as known. Supported by Hungarian National Foundation for Scientific Research, Grant No. 191. [385]

386 I. Z. Ruzsa Theorem 1.2. If b = s =, then (1.2) r(n) R(N) = o(n). On the other hand, if b or s, then r(n) > λn with some λ > for all N large enough. (1.2) can be proved with Roth s method, and it also follows immediately from the famous theorem of Szemerédi (1975) on arithmetical progressions. One can also adapt the methods of Heath Brown (1987) and Szemerédi (199) to obtain (1.3) r(n) R(N) N(log N) α with a positive constant α depending on the coefficients a 1,..., a k. The fact that r(n) N if b = and s is stated by Komlós, Sulyok and Szemerédi (1975), and was known probably long before that. Noninvariant equations have drawn little attention so far. The estimate r(n) N is easy, but there remain many nontrivial unsolved problems. We list what we think are the most important problems and give partial solutions. Besides, in the last two sections we give a new proof of the theorem of Komlós, Sulyok and Szemerédi (1975) on systems of linear equations in an arbitrary set. While this concerns invariant equations as well, we include it here because of the common method applied to it and to several problems on noninvariant equations. Notation. Sets of integers will be denoted by script letters. If a letter, say A, denotes a set, the corresponding Roman letter is used to denote its counting function without any further explanation, so that A(N) = A [1, N]. 2. Bounds for r(n). We consider the general equation (2.1) a 1 x 1 +... + a k x k = b, where now either b or s = a 1 +... + a k. Define λ = lim sup r(n) N, λ 1 = lim inf r(n) N. One can also consider infinite sets. Write λ 2 = sup d(a), λ 3 = sup d(a), λ 4 = sup d(a), where d, d and d denote upper density, lower density and asymptotic density, and A runs over sets of positive integers in which (2.1) has no solution; in the definition of λ 4 only sets having an asymptotic density are considered.

A linear equation 387 We have obviously (2.2) 1 λ { λ1 λ 2 } λ 3 λ 4. Our main project is to find estimates for these quantities. Theorem 2.1. Let q be the smallest positive integer that does not divide gcd(s, b). Further, write We have S = a i. (2.3) λ 4 λ = max(q 1, S 1, (2k) k ). R e m a r k 2.2. From the three bounds given in (2.3), the first is better than the second whenever s. (The prime number theorem implies that q log s.) The third has the remarkable property that it does not depend on the coefficients, only on the number of unknowns. P r o o f o f T h e o r e m 2.1. First we show that λ 4 1/q. Since q (s, b), at least one of the divisibilities q b and q s b fails. Choose t = or 1 so that q ts b. Equation (2.1) has no solution within the set A = {n : n t (mod q)} which satisfies d(a) = 1/q. We prove the second and third inequalities together. Take positive numbers δ 1,..., δ k such that δ 1 +... + δ k = 1/2, and let U [, 1) be the set of numbers u < 1 satisfying ua i < δ i, i = 1,..., k. ( t is the distance of t from the nearest integer.) U is a very simple set, a union of finitely many intervals. We prove that λ 4 µ(u), where µ denotes measure. To this end let α, β be real numbers satisfying (2.4) αb + βs = 1/2, and put A = {n : {αn + β} U}. Here {x} denotes the fractional part of x. If α is irrational, then from the uniform distribution of αn modulo 1 we infer that d(a) = µ(u). If s, then we can fix the value of α at any irrational number and then choose β to satisfy (2.4). If s =, then the above argument does not work, and (2.4) is equivalent to αb = 1/2. Without restricting generality we may assume that b >.

388 I. Z. Ruzsa The value α = 1/(2b) is fixed, and the set A is determined by β. It will be a union of certain residue classes modulo 2b; let f(β) denote the number of these classes. We have 2b f(β) = f j (β), j=1 where f j (β) = 1 if {αj + β} U and otherwise. We have hence 1 1 Thus for a suitable value of β we have f j (β) dβ = µ(u), f(β) dβ = 2bµ(U). d(a) = f(β)/(2b) µ(u). Now we show that the equation has no solution in A. Suppose that x 1,..., x k A form a solution. By definition we have a i (αx i + β) < δ i, hence ai (αx i + β) < δ i = 1/2. On the other hand, ai (αx i + β) = α a i x i + β a i = αb + βs = 1/2, a contradiction. We have yet to estimate µ(u). A possible choice of the numbers δ i is δ i = a i 2S, and in this case U contains the interval ( 1/(2S), 1/(2S)) modulo one, hence µ(u) 1/S. To prove the third estimate in (2.3) we put δ i = 1/(2k) for all i. To estimate µ(u) consider the map x ({a 1 x},..., {a k x}) from [, 1) to [, 1) k. Divide the set [, 1) k into (2k) k cubes of side 1/(2k). Via the above map, this induces a division of [, 1) into (2k) k parts. At least one of these parts, say V, satisfies µ(v ) (2k) k. Take an arbitrary v V. The set V v modulo 1 is a part of U, hence µ(u) µ(v ) (2k) k.

A linear equation 389 Problem 2.3. Decide the cases of equality in (2.2). It seems safe to conjecture that always λ = λ 1, that is, the limit lim r(n)/n exists. If s =, then the equation is translation invariant, hence r(n) is subadditive, which immediately implies the existence of this limit. In general, we cannot solve this innocent-looking problem. Statement 2.4. If either all coefficients a i are of the same sign, or gcd(a 1,..., a k ) does not divide b, then λ =... = λ 4 = 1, otherwise λ < 1. P r o o f. If all coefficients a i are of the same sign, then there are no solutions in the set (M, ) for a suitable M. If gcd(a 1,..., a k ) does not divide b, then there are no solutions at all. Assume now that (a 1,..., a k ) b. This implies that there are (signed) integers X 1,..., X k that form a solution of the equation. If there are both positive and negative coefficients, then there are positive integers y 1,..., y k that satisfy a 1 y 1 +... + a k y k =. The numbers x i = X i + ty i form a solution of the equation and they are positive for t > t. Write X = max X i and Y = max y i. Consider now a set A [1, N] without solution. For each integer t with t < t < (N X)/Y, the numbers X i + ty i are in [1, N] and at least one is missing from A. One missing element is counted at most k times, and consequently we have A N 1 ( N X t ), k Y which implies λ 1 1 ky < 1. Next we show that λ cannot be bounded from below by a positive absolute constant. Theorem 2.5. Consider the equation in 2k variables (2.5) (x 1 y 1 ) + 2(x 2 y 2 ) +... + 2 k 1 (x k y k ) = b, where the integer b is of the form (2.6) b = lcm[1,..., m] < 2 k. This equation satisfies r(n) N/m; with the maximal possible choice of m we have r(n) 2N/k. P r o o f. Let d be the smallest difference between consecutive terms of a set A, say d = x y, x, y A. If d > m, then A < N/m for N > m.

39 I. Z. Ruzsa Assume that d m; we show that equation (2.5) has a solution in A. Write u = b/d; by the assumptions on b, u is an integer and 1 u < 2 k. Let k 1 u = e i 2 i, e i = or 1, i= be the binary representation of u. Let y i = y for all i, x i = x if e i = 1 and x i = y if e i = ; this is a solution of (2.5). The estimation m k/2 follows from Chebyshev s estimate on primes and the prime number theorem yields m log 2 k = (log 2)k. Problem 2.6. Find an equation with small λ and s. Let s + = a i, a i > s = a i. a i < Without restricting generality we may assume that s + s. By considering the integers in the interval ( s ] s + N, N we obtain λ 1 s+ s s +. For an integer m > 1, let ϱ(m) denote the maximal cardinality of a set B of residue classes modulo m such that the congruence (2.7) a 1 x 1 +... + a k x k b (mod m) has no solution with x i B, and put (2.8) ϱ = sup ϱ(m) m. By considering the set of integers satisfying a u (mod m) for some u B we see that λ 1 ϱ(m) for any m, thus λ 1 ϱ. Problem 2.7. Is it true that always λ = λ 1 = max (ϱ, s+ s )? Problem 2.8. When is the supremum in (2.8) a maximum? It may not be, as the following example shows. Consider the equation x = 2y. We show that ϱ(m) (2m 1)/3. Let B be a set such that congruence (2.4) has no solution in B, B = l. For each x B consider the residues 2x. These lie outside B and each z B has at most two representations in this form. Furthermore, B, and the residue has only one representation in the form = 2y, y B, because one of the at most two s +

A linear equation 391 solutions is itself. This yields l 2(m l) 1 or l (2m 1)/3, as claimed. Now by considering m = 2 2q+1 and the set of residues in the form 2 2i (2j + 1), i q, we see that ϱ(m) (2m 1)/3 for these values of m, and consequently ϱ = 2/3. Recall that we defined R(N) = max A over sets A [1, N] of integers such that equation (2.1) has no solution with distinct numbers x i A. In Section 3 of Part I we saw that the behaviour of r(n) and R(N) can be very different in the invariant case. We think that this does not happen for noninvariant equations. Conjecture 2.9. We always have R(N) = r(n) + o(n). Any lower bound for r(n) automatically yields a lower bound for R(N). In the only nontrivial upper bound we gave, in Theorem 2.5, we can prove only a weaker bound for R(N) with a modification of the method. 3. Infinite sets. For Sidon s equation (x + y = u + v), the problems for finite and infinite sets behave very differently. In the noninvariant case the difference is less dramatic but still does exist. λ 1 and λ 2 may be different. Consider, for instance, the equation x = y + az with an integer a > 1. This equation has no solution in the interval ( N a + 1, N hence λ 1 a/(a+1) (one can show that λ = λ 1 = a/(a+1)). On the other hand, we have λ 2 1/2. Indeed, let A be a set without solution. Fix any number d A. There are no integers x, y A satisfying x y = ad, that is, the sets A and A + ad are disjoint. This implies 2A(N) N + ad, whence λ 2 1/2. (If a is odd, then λ 2 = λ 3 = λ 4 = 1/2 follows from the previous observation and Theorem 2.1.) Problem 3.1. Is there an absolute constant C such that we always have λ 2 Cλ 1? The quantity ϱ was defined in (2.8). We have obviously λ 4 ϱ. Problem 3.2. Is it true that always λ 2 = λ 3 = λ 4 = ϱ? If s =, then the equality of the λ i s can be asserted. Theorem 3.3. If s = and b, then λ = λ 1 = λ 2 = λ 3 = λ 4. ],

392 I. Z. Ruzsa P r o o f. The proof is based on translating and combining solution-free sets. There are several ways to express this idea, a popular one applies compactness in the space {, 1} Z. We use the method developed in Ruzsa (1978). We recall some concepts and results from this paper. By a homogeneous system we mean a collection H of finite sets of integers such that for every A H all the subsets and translates of A belong to H as well. The counting function of a homogeneous system H is defined as The density of H is the limit which always exists. H(x) = max A [1, x]. A H d(h) = lim x H(x)/x, Lemma 3.4. For an arbitrary homogeneous system H there is a set A of positive integers such that A has asymptotic density, d(a) = d(h) and every translate of every finite subset of A belongs to H. This is Theorem 4 of Ruzsa (1978). Now let S be the collection of all finite sets of integers in which (2.1) has no solution. Then S is a homogeneous system and its density is λ. By the lemma above, there is a set A of density d(a) = d(s) = λ such that all finite subsets of A belong to S. This is equivalent to saying that equation (2.1) has no solution in A, hence λ 4 = λ. The other equalities follow from the obvious inequalities listed in (2.2). The case s, when there is no obvious connection between values of r(n), may be more difficult. 4. Equations in a general set. Besides solutions of an equation (4.1) a 1 x 1 +... + a k x k = b in a subset of the first N integers, one can ask about solution-free subsets of an arbitrary set. Definition 4.1. We define r (N) as the largest number m with the following property: every set B of N integers contains a subset A B of m elements such that equation (4.1) has no nontrivial solution in A. We define R (N) similarly, admitting only solutions with k distinct integers x j. We have obviously r (N) r(n) and R (N) R(N). Komlós, Sulyok and Szemerédi (1975) proved that in both cases the difference is at most a constant factor. In this section we give a different proof of their result, based on ideas similar to that of Theorem 2.1. This also leads to an improvement in the values of the constants.

A linear equation 393 We consider the invariant and noninvariant cases separately. In the noninvariant case we know that r(n) N (Theorem 2.1), and instead of comparing r (N) and r(n) we shall estimate r (N) directly. We prove essentially the same lower bound for r (N) as we did for r(n) in Theorem 2.1. We write (4.2) s = a i, S = a i, λ = max(s 1, (2k) k ). Theorem 4.2. Assume that either b or a i. With the number λ of (4.2) we have r (N) λ(n 1) for every N. P r o o f. We define U as in the proof of Theorem 2.1, take two reals satisfying (2.4) and define A by A = {n B : {αn + β} U}. The same argument yields that equation (4.1) has no solution in A. We need to estimate A. If s, we can rewrite (2.4) as therefore β = 1 2s αb s, (4.3) αn + β = γ(sn b) + 1 2s, where γ = α/s. The set A is determined uniquely by γ; write A = f(γ). We have f(γ) = n B f n (γ), where f n (γ) = 1 if γ(sn b)+1/(2s) U and otherwise. For a fixed n B the measure of those γ [, 1) for which this condition holds is equal to µ(u) unless sn b =, that is, with at most one exception. Consequently, 1 f(γ) dγ µ(u)(n 1), so with a suitable selection of γ we have A = f(γ) µ(u)(n 1) λ(n 1) as claimed. If s =, then we fix α = 1/(2b) and obtain the same result by averaging in β, as we did in the proof of Theorem 2.1. Since the four numbers r(n), r (N), R(N) and R (N) are all between λ(n 1) and N, they have the same order of magnitude. For invariant equations the order of magnitude of these quantities is unknown but a comparison

394 I. Z. Ruzsa is possible even in a more general situation. Instead of a single equation we consider a system of equations (4.4) a j1 x 1 +... + a jk x k =, j = 1,..., J, with integral coefficients a ji. We assume that the system is invariant, that is, k a ji = i=1 for every 1 j J. We generalize the concept of a nontrivial solution as follows. For every k-tuple x 1,..., x k of integers we define its coincidence matrix as the k k matrix (δ ij ) in which δ ij = 1 if x i = x j and otherwise. Now assume that a subset of all n n -1 matrices is given. We call a solution admissible if its coincidence matrix belongs to. If has only one element, the identity matrix, we get the notion of solutions with different values of the unknowns. It is natural, but not necessary, to assume that the identity matrix belongs to. Definition 4.3. Let a system (4.4) of equations and a set of n n -1 matrices be given. We define r(n) as the maximal cardinality of a set A [1, N] of integers such that the system (4.4) has no solution with x i A whose coincidence matrix belongs to. We define r (N) as the maximal integer m with the property that every set B of integers, B = N, contains a subset A with A = m, such that the system (4.4) has no solution with x i A whose coincidence matrix belongs to. Write S = max j k a ji. Theorem 4.4. For every system of equations and every set of admissible coincidence matrices we have (4.5) r 4 (N) S 2 + 4 r(n). P r o o f. Take a set A [1, N] such that A = r(n) and (4.4) has no admissible solution in A. We put ε = 1/S and m = NS/2. (S is even, since i a ji =, thus m is an integer.) We define the set U as U = y A ( y ε m i=1, y + ε m ) = I y. We take two real numbers α and β and define a set A B as follows. If for any y A there is an n B such that {αn + β} I y, then we put one of

A linear equation 395 these numbers n (say, the smallest) into A. We have definitely A A = {n B : {αn + β} U}. We show that (4.4) has no admissible solution in A. Assume that x 1,......, x k is a solution. We have (4.6) αx i + β = z i + y i + ε i m, where ε i < ε, y i A and the z i s are integers. Moreover, since we selected only one n B for each interval, the coincidence matrix of y 1,..., y k is the same as that of x 1,..., x k. Equation (4.6) implies that ( aji z i + y ) i + ε i = m for every j. Multiplying this equation by m we see that a ji ε i must be an integer. Since this number is less in absolute value than ε a ji εs = 1, its value is. We conclude that ( aji z i + y ) i =. m This shows that a ji y i /m is always an integer. Since i a ji =, we have ( a ji y i = aji y i N + 1 ) S N 1. 2 2 Hence (N 1)/2 a ji y i /m S < 1, m and consequently its value is. We proved that y 1,..., y k also forms a solution, a contradiction. We now estimate A. Write A = f(α, β), A = g(α, β). Finally, let h(α, β) be the number of those pairs (n, n ), n, n B, for which {αn + β} and {αn + β} are in a common interval I y, y A. It is easy to compute an average of g. We have g(α, β) = n B g n(α, β), where g n (α, β) = 1 if {αn + β} U and otherwise. Now we have 1 g n(α, β) dβ = µ(u) for every n and α, and consequently g(α, β) dα dβ = Nµ(U). One can hope that if the numbers {αn + β} do not often lie in the same I y, that is, h is not too big, then f is not much smaller than g. An exact

396 I. Z. Ruzsa expression is the following. Let φ y = φ y (α, β) denote the number of integers n B such that {αn + β} I y. We have f = 1, g = φ y, h = φ 2 y, φ y and the inequality of arithmetic and square means yields g(α, β) 2 f(α, β)h(α, β). By integrating this inequality we obtain We also know that g(α, β) 2 dα dβ g(α, β) 2 dα dβ max f ( 1 Combining these inequalities we find (4.7) max f(α, β) 1 h(α, β)f(α, β) dα dβ h(α, β) dα dβ. g(α, β) dα dβ) 2 = N 2 µ(u) 2. N 2 µ(u) 2 Our next task is to estimate the integral of h. We can express h as h(α, β) dα dβ h(α, β) = h nn (α, β), where h nn (α, β) = 1 if {αn + β} and {αn + β} are in a common interval I y, and otherwise. They can be in the same I y only if α(n n ) 2ε/m, and consequently we have 1 { if α(n n (4.8) h nn (α, β) dβ ) > 2ε/m, µ(u) otherwise. The measure of those α for which the condition α(n n ) 2ε/m holds is 1 if n = n and 2ε/m if n n, thus (4.8) implies { µ(u) if n = n h nn (α, β) dα dβ, 2εµ(U)/m if n n..

On summing these estimates we obtain h(α, β) dα dβ Nµ(U) + N(N 1) 2εµ(U) m Substituting this estimate into (4.7) we get A linear equation 397 max f(α, β) Nµ(U) 1 + 2εN/m. Nµ(U)(1 + 2εN/m). In view of µ(u) = 2εr(N)/m, ε = 1/S and m = NS/2 this is equivalent to (4.5). References D. R. Heath-Brown (1987), Integer sets containing no arithmetic progression, J. London Math. Soc. 35, 385 394. J. Komlós, M. Sulyok and E. Szemerédi (1975), Linear problems in combinatorial number theory, Acta Math. Hungar. 26, 113 121. I. Z. Ruzsa (1978), On difference sets, Studia Sci. Math. Hungar. 13, 319 326. I. Z. R u z s a (1993), Solving a linear equation in a set of integes I, Acta Arith. 65, 259 282. E. Szemerédi (1975), On sets of integers containing no k elements in arithmetic progression, ibid. 27, 199 245. E. Szemerédi (199), Integer sets containing no arithmetic progressions, Acta Math. Hungar. 56, 155 158. MATHEMATICAL INSTITUTE HUNGARIAN ACADEMY OF SCIENCES BUDAPEST, PF. 127 H-1364 HUNGARY E-mail: H114RUZ@ELLA.HU Received on 18.1.1994 and in revised form on 19.12.1994 (2681)