Sum-free sets. Peter J. Cameron University of St Andrews

Similar documents
Sum-free sets. Peter J. Cameron University of St Andrews

The random graph. Peter J. Cameron University of St Andrews Encontro Nacional da SPM Caparica, 14 da julho 2014

On sum-free and solution-free sets of integers

Perchance to dream...

ALMOST ODD RANDOM SUM-FREE SETS NEIL J. CALKIN AND P. J. CAMERON. 1. introduction

POL502: Foundations. Kosuke Imai Department of Politics, Princeton University. October 10, 2005

0 Logical Background. 0.1 Sets

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

HW 4 SOLUTIONS. , x + x x 1 ) 2

The Lebesgue Integral

Posets, homomorphisms, and homogeneity

Chapter 1 : The language of mathematics.

MORE ON CONTINUOUS FUNCTIONS AND SETS

K 4 -free graphs with no odd holes

CLASS NOTES FOR APRIL 14, 2000

Math 105A HW 1 Solutions

Chapter One. The Real Number System

Part IA Numbers and Sets

Quick Tour of the Topology of R. Steven Hurder, Dave Marker, & John Wood 1

Research Problems in Arithmetic Combinatorics

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

Generalized Pigeonhole Properties of Graphs and Oriented Graphs

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

MATH 13 FINAL EXAM SOLUTIONS

Countability. 1 Motivation. 2 Counting

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

Introduction to Dynamical Systems

2. Two binary operations (addition, denoted + and multiplication, denoted

School of Mathematical Sciences, Queen Mary, University of London, Mile End Road, London E1 4NS, UK

Measures. 1 Introduction. These preliminary lecture notes are partly based on textbooks by Athreya and Lahiri, Capinski and Kopp, and Folland.

The typical structure of maximal triangle-free graphs

Mathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur. Lecture 1 Real Numbers

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

Part IA Numbers and Sets

Discrete Mathematics. Benny George K. September 22, 2011

One-to-one functions and onto functions

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory

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?

Szemerédi s regularity lemma revisited. Lewis Memorial Lecture March 14, Terence Tao (UCLA)

Classifying classes of structures in model theory

Theorems. Theorem 1.11: Greatest-Lower-Bound Property. Theorem 1.20: The Archimedean property of. Theorem 1.21: -th Root of Real Numbers

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

CITS2211 Discrete Structures (2017) Cardinality and Countability

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

Combining the cycle index and the Tutte polynomial?

The cardinal comparison of sets

1 Partitions and Equivalence Relations

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws

Section 0. Sets and Relations

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Orders and Equivalences

NAME: Mathematics 205A, Fall 2008, Final Examination. Answer Key

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

DIFFERENCE DENSITY AND APERIODIC SUM-FREE SETS. Neil J. Calkin Department of Mathematical Sciences, Clemson University, Clemson, SC 29634, USA

1.4 Cardinality. Tom Lewis. Fall Term Tom Lewis () 1.4 Cardinality Fall Term / 9

Contents. Preface to the First Edition. Preface to the Second Edition. Preface to the Third Edition

Construction of a general measure structure

Chapter 2 - Relations

MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets

Combinatorial properties of transformation monoids

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

1.3. The Completeness Axiom.

Polynomial analogues of Ramanujan congruences for Han s hooklength formula

Review Sheet for the Final Exam of MATH Fall 2009

Finite and Infinite Sets

Measures and Measure Spaces

Near-domination in graphs

Ramsey theory. Andrés Eduardo Caicedo. Graduate Student Seminar, October 19, Department of Mathematics Boise State University

2.2 Lowenheim-Skolem-Tarski theorems

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.

Discrete Mathematics 2007: Lecture 5 Infinite sets

6 Cosets & Factor Groups

5. Partitions and Relations Ch.22 of PJE.

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

Latin squares: Equivalents and equivalence

Section 1: Sets and Interval Notation

Functions and cardinality (solutions) sections A and F TA: Clive Newstead 6 th May 2014

Measure and Category. Marianna Csörnyei. ucahmcs

ON THE LEVEL SETS OF THE TAKAGI FUNCTION

Section 2: Classes of Sets

CHAPTER 5. The Topology of R. 1. Open and Closed Sets

Exercises for Unit VI (Infinite constructions in set theory)

Galois fields/1. (M3) There is an element 1 (not equal to 0) such that a 1 = a for all a.

Classes of Polish spaces under effective Borel isomorphism

2 Exercises 1. The following represent graphs of functions from the real numbers R to R. Decide which are one-to-one, which are onto, which are neithe

Homogeneous structures

MITOCW watch?v=vjzv6wjttnc

PRIME LABELING OF SMALL TREES WITH GAUSSIAN INTEGERS. 1. Introduction

Chapter VI. Relations. Assumptions are the termites of relationships. Henry Winkler

LINEAR ORDERS, DISCRETE, DENSE, AND CONTINUOUS

Ramsey Theory. May 24, 2015

SETS AND FUNCTIONS JOSHUA BALLEW

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?

Introduction to Proofs in Analysis. updated December 5, By Edoh Y. Amiran Following the outline of notes by Donald Chalice INTRODUCTION

Chapter 8. P-adic numbers. 8.1 Absolute values

Part III. 10 Topological Space Basics. Topological Spaces

MATH 101: ALGEBRA I WORKSHEET, DAY #1. We review the prerequisites for the course in set theory and beginning a first pass on group. 1.

Transcription:

Sum-free sets Peter J. Cameron University of St Andrews Topological dynamics, functional equations, infinite combinatorics and probability LSE, June 2017

Three theorems The missing fourth? A set of natural numbers is k-ap-free if it contains no k-term arithmetic progression, and is sum-free if it contains no solution to x + y = z. (van der Waerden) For a natural number k > 2, the set N cannot be partitioned into finitely many k-ap-free sets. (Roth Szemerédi) For a natural number k > 2, a k-ap-free set has density zero. (Schur) The set N cannot be partitioned into finitely many sum-free sets. At first sight, one would like a theorem to complete the pattern, asserting that a sum-free set has density zero. However, this is false; the set of all odd numbers is sum-free and has density 1/2. What follows can be regarded as an attempt to find a replacement for the missing fourth theorem. Note that other people have tried to fill this gap in different ways... A bijection with Cantor space The Cantor space C can be represented as the set of all (countable) sequences of zeros and ones. It carries the structure of a complete metric space (the distance between two sequences is a monotonic decreasing function of the index of the first position where they differ) or as a probability space (corresponding to a countable sequence of independent tosses of a fair coin). We define a bijection between Cantor space and the set S of all sum-free subsets of N. Given a sequence x C, we construct S as follows: Consider the natural numbers in turn. When considering n, if n is the sum of two elements already put in S, then of course n / S. Otherwise, look at the first unused element of x; if it is 1, then put n S, otherwise, leave n out of S. Delete this element of the sequence and continue. An example Input: 101... Output: 1,4,... 1 is not a sum, so take an input bit; it s 1, so 1 S 2 = 1 + 1, so skip 3 is not a sum, so take an input bit; it s 0, so 3 / S 4 is not a sum, so take an input bit; it s 1, so 4 S 5 = 1 + 4, so skip... and so on... Baire category Baire category in C C is a complete metric space, where the distance between two sequences is a monotone decreasing function of the first position where they disagree. The notion of almost all in a complete metric space is a residual set; a set is residual if it contains a countable intersection of dense open sets. Thus, residual sets are non-empty (by the Baire Category ); any countable collection of residual sets has non-empty intersection; a residual set meets every non-empty open set; and so on. It is a straightforward exercise to show the following. A subset X of C is open if and only if it is finitely determined, that is, for any x X, there is a finite initial segment x 0 of x such that any sequence beginning with x 0 belongs to X. A subset X of C is dense if and only if it is always reachable, that is, any finite sequence is an initial segment of some element of X. So a set is residual if and only if it contains a countable intersection of sets which are finitely determined and always reachable.

sf-universal sets Properties of sf-universality A sum-free set is called sf-universal if everything which is not forbidden actually occurs. Precisely, S is sf-universal if, for every A {1,..., n}, one of the following occurs: there are i, j A with i < j and j i S; there exists N such that S [N + 1,..., N + n] = N + A, where N + A = {N + a : a A}. The set of sf-universal sets is residual in S. (Schoen) A sf-universal set has density zero. Thus our missing fourth theorem asserts that almost all sum-free sets (in the sense of Baire category) have density zero. Application to Henson s graph Henson s graph is the unique countable homogeneous universal triangle-free graph. Henson showed that it has automorphisms acting as cyclic shifts on the vertices, but the analogous K m -free graphs for m > 3 do not. Let S be an arbitrary subset of N. We define the Cayley graph Cay(Z, S) to have vertex set Z, with x y if and only if y x S. Note that this graph admits the group Z acting as a shift automorphism on the vertex set. Cay(Z, S) is triangle-free if and only if S is sum-free. Cay(Z, S) is isomorphic to Henson s universal homogeneous triangle-free graph if and only if S is sf-universal. So Henson s graph has uncountably many non-conjugate shift automorphisms. Measure In a probability space, large sets are those which have measure 1, that is, complements of null sets. Just as for Baire category, these have the properties one would expect: the intersection of countably many sets of measure 1 has measure 1; a set of measure 1 intersects every set of positive measure; and so on. The first surprise is that measure and category give entirely different answers to what a typical set looks like: Conjecture The set of sf-universal sets has measure zero. Although this is not proved yet (to my knowledge), it is certain that this set does not have measure 1. Density Given the measure on S, and our interest in density, it is natural to ask about the density of a random sum-free set. This can be investigated empirically by computing many large sum-free sets and plotting their density. Here is the rather surprising result. Sets of odd numbers The spike on the right corresponds to density 1/4 and is explained by the following theorem. The probability that a random sum-free set consists entirely of odd numbers is about 0.218 (in particular is non-zero). Conditioned on this, the density of a random sum-free set is almost surely 1/4. The intuition is: Suppose we are building a random sum-free set and have so far not seen any even numbers. Then the odd numbers will be independent; so the next even number is very likely to be the sum of two odd numbers chosen, and so excluded. On the other hand, the next odd number is not a sum of two chosen numbers, so we include it with probability 1/2. So the pattern tends to persist.

Other positive pieces Discrete or continuous? Let Z/nZ denote the integers modulo n. We can define the notion of a sum-free set in Z/nZ in the obvious way. Such a sum-free set T is said to be complete if, for every z Z/nZ \ T, there exist x, y T such that x + y = z in Z/nZ. Now the theorem above extends as follows. Let S(n, T) denote the set of all sum-free sets which are contained in the union of the congruence classes t mod n for t T. Let T be a sum-free set in Z/nZ. The probability of S(n, T) is non-zero if and only if n is complete. If T is complete then, conditioned on S S(n, T), the density of S is almost surely T /2n. The next complete modular sum-free sets are {2, 3} mod 5 and {1, 4} mod 5, and {3, 4, 5} mod 8 and {1, 4, 7} mod 8. These give spectral lines at 1/5 and 3/16 in the figure, for similar reasons to the odd numbers. The density spectrum appears to be discrete above 1/6, and there is some evidence that this is so. However, a recent paper of Haviv and Levy shows the following result. The values of T /2n for complete sum-free sets T Z/nZ are dense in [0, 1/6]. More pieces Discrete or continuous? 2 Neil Calkin and I showed that the event that 2 is the only even number in S has positive (though rather small) probability. More generally, Let A be a finite set and T a complete sum-free set modulo n. Then the event A S A (T mod n) has positive probability. Is it true that a random sum-free set almost surely has a density? Is it also true that the density is strictly positive almost surely? Is it even true that a random sum-free set almost surely lies in one of the pieces so far described? Is it true that the density spectrum is discrete above 1/6 but has a continuous part below 1/6? The following construction is due to Calkin and Erdős. Let α be an irrational number, and define S(α) to be the set of natural numbers n for which the fractional part of nα lies between 1/3 and 2/3. It is easy to see that S(α) is sum-free and has density 1/3. However this does not resolve the question, since the event S S(α) for some α has probability zero. However, there might be other examples along these lines... Counting, 1 I count a lot of things that theres no need to count, Cameron said. Just because that s the way I am. But I count all the things that need to be counted. Richard Brautigan, The Hawkline Monster: A Gothic Western I will look briefly at counting, and describe two conjectures I made with Paul Erdős (both now proved, the first independently by Ben Green and Sasha Sapozhenko, the second by József Balogh, Hong Liu, Maryam Sharifzadeh, and Andrew Treglown). These results give a picture of the typical sum-free set which disagrees with both the measure-theoretic and Baire-categoric versions. Counting, 2 How many sum-free subsets of {1,..., n} are there? Any set of odd numbers is sum-free; this gives 2 n/2 sets. Any set with least element more than n/2 is sum-free; this also gives 2 n/2 sets. The intersection with the previous type is small (about 2 n/4 ). We can find a few more sets by allowing numbers a bit smaller than n/2 and correspondingly excluding numbers close to n. Careful analysis shows that this gives about c.2 n/2 sets, where c takes one of two values depending on the parity of n. The first type as we have seen contribute 0.218... to the measure. The rest are invisible both to measure and to Baire category.

Cameron Erdős, 1 Our first conjecture, now a theorem, asserted that asymptotically this accounts for everything: There are constants c e and c 0 such that, if s(n) is the number of sum-free subsets of {1,..., n}, then s(n) 2 n/2 c e or c o as n through even, resp. odd, values. The constants are approximately 6.0 and 6.8 but have not been evaluated accurately. Cameron Erdős, 2 This shows that most sum-free sets are contained in a very small number of maximal ones; e.g. a positive fraction are contained in the odd numbers. How many maximal sum-free subsets of {1,..., n} are there? Erdős and I constructed about 2 n/4 such sets and conjectured that this is the right answer. This was proved by Balogh et al., who showed: There are constants m 0, m 1, m 2, m 3 such that, if s max (n) is the number of maximal sum-free subsets of {1,..., n}, then s max (n) 2 n/4 m i as n through values congruent to i (mod 4). Rationality An infinite sequence x is rational, or ultimately periodic, if there exist positive integers n and k such that x i+k = x i for all i n. Analogously, a sum-free set S is rational if (i S) (i + k S) for all i n. It is easy to see that, in our bijection from sequences to sum-free sets, a sequence which maps to a rational sum-free set must itself be rational. What about the converse? Is it true that the image of a rational sequence is a rational sum-free set? Rationality, 2 After spending some time on this question, Neil Calkin and I conjectured that the answer is no. There are some rational sequences (the simplest being 01010 repeated) for which the corresponding output shows no sign of periodicity despite our computing nearly a million terms. These sets are fascinating, and seem sometimes to exhibit an almost periodic structure; they settle into a period, which is then broken and a longer period established, and so on. The next slide shows the integers in [1, 40000] in the sum-free set generated by 01010 repeated. Some of the structure is clearly visible in the picture. The first 40000 numbers