Sum-free Sets of Integers with a Forbidden Sum
Ishay Haviv

TL;DR
This paper investigates sum-free subsets of integers with a forbidden sum, establishing bounds on their number and structural properties, using advanced combinatorial and additive number theory tools.
Contribution
It provides an upper bound of O(2^{n/3}) on such sets and proves a stability theorem characterizing their structure, advancing understanding of sum-free sets with restrictions.
Findings
Bound of O(2^{n/3}) on the number of sum-free sets with a forbidden sum
Structural stability result showing near-maximum sets are close to a specific subset
Application of advanced combinatorial theorems to additive number theory problems
Abstract
A set of integers is sum-free if it contains no solution to the equation . We study sum-free subsets of the set of integers for which the integer cannot be represented as a sum of their elements. We prove a bound of on the number of these sets, which matches, up to a multiplicative constant, the lower bound obtained by considering all subsets of . A main ingredient in the proof is a stability theorem saying that if a subset of of size close to contains only a few subsets that contradict the sum-freeness or the forbidden sum, then it is almost contained in . Our results are motivated by the question of counting symmetric complete sum-free subsets of cyclic groups of prime order. The proofs involve Freiman's theorem, Green's arithmetic removal lemma, and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Sum-free Sets of Integers with a Forbidden Sum
Ishay Haviv School of Computer Science, The Academic College of Tel Aviv-Yaffo, Tel Aviv 61083, Israel.
Abstract
A set of integers is sum-free if it contains no solution to the equation . We study sum-free subsets of the set of integers for which the integer cannot be represented as a sum of their elements. We prove a bound of on the number of these sets, which matches, up to a multiplicative constant, the lower bound obtained by considering all subsets of . A main ingredient in the proof is a stability theorem saying that if a subset of of size close to contains only a few subsets that contradict the sum-freeness or the forbidden sum, then it is almost contained in . Our results are motivated by the question of counting symmetric complete sum-free subsets of cyclic groups of prime order. The proofs involve Freiman’s theorem, Green’s arithmetic removal lemma, and structural results on independent sets in hypergraphs.
1 Introduction
For an abelian additive group , a set is sum-free if there are no such that . The study of sum-free sets was initiated in 1916 by Schur [30], who proved that the set of nonzero integers cannot be partitioned into a finite number of sum-free sets. His work was originally motivated by an attempt to prove the famous Fermat’s Last Theorem, which states that the set of all th powers of nonzero integers is sum-free for every . To date, over a century later, sum-free sets play a fundamental role in the area of additive combinatorics and enjoy an intensive and fruitful line of research.
Sum-free subsets of the set of integers have attracted a significant attention in the literature over the years. It is easy to show that the largest size of a sum-free subset of is , attained by the set of odd integers in and by the integer interval . Cameron and Erdős [9] raised the question of counting the sum-free subsets of and conjectured that there are such sets. Their conjecture was confirmed more than a decade later by Green [16] and by Sapozhenko [27] independently. More recently, Alon, Balogh, Morris, and Samotij [3] proved a refined version of the conjecture, providing a bound of on the number of sum-free subsets of of size for every . The study of structural characterization of sum-free sets of integers was initiated by Freiman [15] who showed, roughly speaking, that every sum-free subset of of density greater than either consists entirely of odd integers or is close to an interval. Freiman’s result was extended to all sum-free subsets of of density greater than in an unpublished work by Deshouillers, Freiman, and Sós. However, their characterization does not hold for smaller subsets, and the barrier was handled by a more complicated characterization due to Deshouillers, Freiman, Sós, and Temkin [11], that was recently further extended by Tran [31].
Another setting of great interest in the study of sum-free sets is the cyclic group of prime order . The largest size of a sum-free subset of is known to be . An explicit characterization of the sum-free sets that attain the largest size was provided in the late sixties by Yap [32, 33], Diananda and Yap [13], and Rhemtulla and Street [25]. In 2004, Green [16] proved an essentially tight upper bound of on the number of sum-free subsets of . As for their structure, Deshouillers and Lev [12] proved, improving on Lev [24] and Deshouillers and Freiman [10], that every sum-free subset of whose density is at least is contained, up to an automorphism, in a bounded-size central interval of .
For a prime , a set is said to be symmetric if implies that , and complete if every element of can be represented as a sum of two (not necessarily distinct) elements of . The family of symmetric complete sum-free subsets of has been considered in the literature, motivated by several applications, such as the study of regular triangle-free graphs with diameter [19], random sum-free sets of positive integers [7, 6], and dioid partitions of the group [20] (see [8] for a survey). In a recent work [21], a full characterization was provided for the symmetric complete sum-free subsets of of size at least , where is a universal constant. Somewhat surprisingly, this characterization reduces the challenge of counting the symmetric complete sum-free subsets of of a given sufficiently large size to counting certain sets of integers. As will be shortly explained, this question motivates the study of sum-free sets of integers with a forbidden sum, considered in the current work and described below.
1.1 Sum-free Sets of Integers with a Forbidden Sum
Let be an integer. For a set and an integer , denote
[TABLE]
and let . In this work we study sum-free subsets of for which the integer is a forbidden sum, that is, sets satisfying and . For example, it is easy to see that the interval satisfies these properties and has size . We start with the extremal question of how large can such a set be, and prove the following tight upper bound.
Theorem 1.1**.**
For every integer , every sum-free set such that satisfies
[TABLE]
In fact, we prove a stronger statement than that of Theorem 1.1, providing the same bound under the weaker assumption rather than . This is tight in the sense that the bound is no longer true if we only require (see Section 3.4).
Equipped with the tight answer to the extremal question, we turn to provide a corresponding robust stability theorem, which roughly speaking says the following: If a subset of of size close to contains only a few subsets that contradict the sum-freeness or the forbidden sum, then it is almost contained in . To state the result precisely, let us introduce the following notation. For an integer , let denote the collection of all sets of distinct satisfying or . For , let denote the collection of all sets of distinct satisfying . Our stability theorem is the following.
Theorem 1.2**.**
For every there exists such that for every sufficiently large integer the following holds. Every set of size contains at least sets from for some or satisfies .
The proof of Theorem 1.2 employs the celebrated Freiman’s theorem [14] as well as Green’s arithmetic removal lemma [17]. We remark that, in contrast to Theorem 1.1, it is essentially unavoidable to involve the sets of in the statement of Theorem 1.2. To see this, consider the set of odd integers in the interval and observe that it is disjoint from , contains no set of , and yet has size .
We finally turn to the question of counting the sum-free sets with . Considering all subsets of easily yields a lower bound of . We prove that this is tight up to a multiplicative constant.
Theorem 1.3**.**
There are sum-free sets satisfying .
The proof of the upper bound in Theorem 1.3 involves two main components. The first is the study of structural characterization of independent sets in hypergraphs developed by Saxton and Thomason [28] and by Balogh, Morris, and Samotij [5], building on a technique of Kleitman and Winston [22] (see also [26]). We employ a general theorem of [5] transferring stability results to bounds on the number of independent sets in hypergraphs. This allows us to derive from Theorem 1.2 that most sum-free subsets of with as a forbidden sum are almost contained in the set . The second component of the proof, used to count these sets, is an bound on the number of sets for which (see Theorem 3.12; Note that the sum-freeness constraint is not considered here). This bound, which might be of independent interest, is tight up to a multiplicative constant, as follows by considering all subsets of the interval . Its proof is inspired by a counting technique due to Alon et al. [3], and uses Janson’s inequality and a bound of Green and Morris [18] on the number of sets of integers with small sumset.
Although the current work focuses on the forbidden sum , we remark that Theorem 1.3 can be extended to other forbidden sums around as well (see Section 3.5). However, for even forbidden sums in this regime, the situation is somewhat different in the sense that a similar bound of holds even without assuming the sum-freeness of the sets (see Proposition 3.22).
1.2 Symmetric Complete Sum-free Sets in Cyclic Groups
For a prime , we consider the family of symmetric complete sum-free subsets of the cyclic group . It is easy to deduce from the classification results of [32, 33, 13, 25] that the largest possible size of such a set is , attained uniquely, up to an automorphism, by the set for and by the set for where .
In a recent work [21], the characterization of symmetric complete sum-free subsets of of largest size was extended to a linear range of sizes. It was shown there, using a structural result of [12], that for all sufficiently large primes , every symmetric complete sum-free subset of of (even) size is, up to an automorphism, of the form
[TABLE]
where is a set of integers for . While is symmetric for every set of integers , sufficient and necessary conditions on for which is complete and sum-free were provided in [21]. These conditions reduce the challenge of counting the symmetric complete sum-free subsets of of a given sufficiently large size to a question of counting certain sets of integers. As an application of our Theorem 1.3, we make a step towards this challenge and provide a tight estimation for the number of symmetric complete sum-free sets of size that satisfy (equivalently, ).
Theorem 1.4**.**
For every sufficiently large prime and every even integer , there are symmetric complete sum-free sets of size that satisfy .
It will be interesting to figure out if a similar upper bound holds for all symmetric complete sum-free sets of a sufficiently large size as well.
Outline.
The rest of the paper is organized as follows. In Section 2, we gather several definitions and results used throughout the paper. In Section 3, we study sum-free subsets of avoiding the forbidden sum . Theorem 1.1 is proved in Section 3.1. For the counting question, we first prove in Section 3.2 a weaker upper bound of , and then in Section 3.3 prove our stability result Theorem 1.2 and use it to prove the tight answer given in Theorem 1.3. In Section 3.4 we discuss the tightness of Theorem 1.1, and in Section 3.5 we discuss extensions of Theorem 1.3 to additional forbidden sums. Finally, in Section 4, we present our application to counting symmetric complete sum-free subsets of cyclic groups of prime order and prove Theorem 1.4.
2 Preliminaries
2.1 Additive Combinatorics
For an abelian additive group and two sets define . We use the notations for , and . The set is sum-free if , complete if , and symmetric if . The following simple claim is well known.
Claim 2.1**.**
For every nonempty sets , . In particular, for every , .
The following classical theorem, proved in 1959 by Freiman [14], shows that sets of integers with small sumset are highly structured.
Theorem 2.2** (Freiman’s Theorem [14]).**
Every finite set satisfying is contained in an arithmetic progression of length at most .
We also need a recent result due to Tran [31] on the structure of large sum-free subsets of (see also [11]).
Theorem 2.3** ([31]).**
There exists a constant such that for every integer and real the following holds. Every sum-free set of size satisfies one of the following alternatives.
All the elements of are congruent to or modulo . 2. 2.
All the elements of are congruent to or modulo . 3. 3.
All the elements of are odd. 4. 4.
. 5. 5.
.
2.2 Green’s Arithmetic Removal Lemma
In 2005, Green [17] proved an arithmetic removal lemma for abelian groups, motivated by well-known removal lemmas in graph theory (see [23] for an alternative proof and an extension). Among other applications, he used it to prove that every ‘almost’ sum-free subset of can be made sum-free by removing relatively few elements. We state below the arithmetic removal lemma of [17] and a variant of its application to sum-freeness, a proof of which is included for completeness.
Theorem 2.4** ([17]).**
For every and an integer there exists , such that for every integer the following holds. Let be subsets of an abelian additive group of size such that the number of zero-sum -tuples in (that is, -tuples satisfying ) is at most . Then, there exist subsets , , with , for which there are no zero-sum -tuples in .
Corollary 2.5**.**
For every there exists , such that for every sufficiently large integer the following holds. Let denote the collection of all sets of distinct satisfying . If a set contains at most sets from then there exists a subset of size for which is sum-free.
- Proof:
For let , where is as in Theorem 2.4, and define . We apply Theorem 2.4 with the group and . Identify a set as a subset of in the natural way, and consider the sets and . Observe that for , the equality over is equivalent to the same equality over the integers. Assuming that contains at most sets from , the number of ordered triples such that is at most , where the inequality holds assuming that is sufficiently large. By Theorem 2.4, there exists a set of size such that is sum-free over the group , thus over the integers as well.
As another application of Theorem 2.4, we show that for every fixed , if a subset of includes a relatively few -subsets with a given sum then it has a large subset including no -tuples with this sum at all.
Corollary 2.6**.**
For every and an integer there exists , such that for every sufficiently large integer the following holds. For an integer , let denote the collection of all sets of distinct satisfying . If a set contains at most sets from then there exists a subset of size for which .
- Proof:
For and let , where is as in Theorem 2.4. It can be assumed that , as otherwise for every . We apply Theorem 2.4 with the group and the integer . Identify a set as a subset of in the natural way, and consider the sets and . Observe that for , the equality can be written as , and that it holds over if and only if it holds over the integers. Assuming that contains at most sets from , the number of ordered -tuples such that is at most
[TABLE]
where the first inequality holds assuming that is sufficiently large. By Theorem 2.4, there exists a set of size such that over the group , thus over the integers as well.
2.3 Independent Sets in Hypergraphs
Structural results on independent sets in hypergraphs were found in recent years as a strong tool in proving extremal, structural, and counting results in combinatorics (see, e.g., [28, 5, 26]). We state below a theorem of Balogh, Morris, and Samotij [5] that provides a general framework to derive counting statements from supersaturation and stability results.
We start with a few notations. For a hypergraph , denote by the set of its vertices and by the set of its hyperedges. Let and . The hypergraph is -uniform if for every . For a set let be the subhypergraph of induced by . An independent set in is a subset of containing no hyperedge of . Let denote the family of independent sets in , and for an integer , let denote the family of independent sets in of size . For a set define , and for an integer , let
[TABLE]
We also need the following definitions of density and stability of hypergraphs used in [5] (see also [2, 29]).
Definition 2.7**.**
Let be a sequence of hypergraphs, and let be a real number.
We say that is -dense if for every there exist and such that the following holds. For every and a set with , . 2. 2.
For a sequence of sets , we say that is -stable if for every there exist and such that the following holds. For every and a set with , it holds that or for some .
Theorem 2.8** (Theorems 5.4 and 6.3 in [5]).**
Let be a sequence of -uniform hypergraphs for an integer , and let and . Let be a sequence of real numbers satisfying that for every sufficiently large integer and every ,
[TABLE]
If is -dense then for every there exists such that for every sufficiently large and every ,
[TABLE] 2. 2.
Let be a sequence of sets . If is -stable then for every there exist and such that for every sufficiently large and every there are at most
[TABLE]
independent sets such that for every .
2.4 Janson’s Inequality
Janson’s inequality is a useful tool to bound the probability that no event of a collection of ‘mostly’ independent events occurs. See, e.g., [4, Chapter 8].
Lemma 2.9** (Janson’s Inequality).**
Let be a family of subsets of a finite set and let . Denote
[TABLE]
where means that and are distinct indices in satisfying . Let be a random subset of , where every element of is chosen to be in independently with probability . Then, the probability that no for is contained in is at most .
2.5 Sets of Integers with Small Sumset
We need the following bound due to Green and Morris [18] on the number of sets of integers with a bounded-size sumset.
Theorem 2.10** (Theorem 1.1 in [18]).**
For every and , for a sufficiently large integer the following holds. For every there are at most
[TABLE]
sets with and .
We also use, in this context, the following simple bound given in [3] on the number of integer partitions of an integer into distinct parts, i.e., the number of sets of positive integers whose sum is .
Lemma 2.11** (Lemma 5.1 in [3]).**
For every two positive integers and , the number of partitions of into distinct parts is at most
[TABLE]
3 Sum-free Sets of Integers with a Forbidden Sum
We study the sum-free sets that satisfy , where the integer is referred to as a forbidden sum. We start with the extremal question of how large can such a set be, and then turn to study the number of these sets.
3.1 The Maximum Size
The following theorem confirms Theorem 1.1.
Theorem 3.1**.**
For every integer , every sum-free set such that satisfies
[TABLE]
- Proof:
Let be a sum-free set such that . Denote
[TABLE]
By the sum-freeness of and Claim 2.1,
[TABLE]
We claim that . Otherwise, by the pigeonhole principle, there exists for which . Notice that belongs to either or and that , which is larger than , belongs to . This implies that , in contradiction to our assumption. It follows that , hence as required.
Remark 3.2**.**
We note that the assumption in Theorem 3.1 cannot be relaxed to the assumption . See Section 3.4 for a detailed discussion.
To obtain a matching lower bound, consider the interval whose size is
[TABLE]
Clearly, the sum of every two element of is smaller than and the sum of every three is larger than . This implies that and, in particular, that . Combining it with Theorem 3.1, we derive the following corollary.
Corollary 3.3**.**
For every integer , the following holds.
The maximum size of a sum-free set such that is . 2. 2.
The maximum size of a sum-free set such that is .
3.2 Supersaturation
We turn to prove a supersaturation result for sum-free subsets of with as a forbidden sum. Namely, we show that every set of size linearly larger than the bound given in Theorem 3.1 contains many subsets that contradict the sum-freeness or the forbidden sum. To state it formally, we recall the following notation.
Definition 3.4**.**
For an integer , let denote the collection of all sets of distinct satisfying or . For , let denote the collection of all sets of distinct satisfying .
The proof of the supersaturation result, stated below, uses the corollaries of Green’s arithmetic removal lemma given in Section 2.2.
Theorem 3.5**.**
For every there exists such that for every sufficiently large integer the following holds. Every set of size contains at least sets from for some .
- Proof:
For a given , define , where , , and are as in Corollaries 2.5 and 2.6. Assume by contradiction that for a sufficiently large integer , a set of size contains fewer than sets from for every . Applying Corollary 2.5, we obtain a set of size for which is sum-free. Applying Corollary 2.6 twice with and , we obtain two sets , each of which is of size at most , such that and . Consider the set , and notice that is sum-free and satisfies . The size of satisfies
[TABLE]
We get a contradiction to Theorem 3.1, so we are done.
Theorem 3.5 combined with a result of [5] on counting independent sets in hypergraphs (see Section 2.3) already allows us to derive a bound of on the number of sum-free sets with , and, in particular, on those that satisfy . We include a proof of this bound for didactical reasons and then turn to prove the tighter bound of (see Section 3.3).
Corollary 3.6**.**
There are sum-free sets satisfying .
- Proof:
Let be a sequence of -uniform hypergraphs defined as follows. For every , is the hypergraph on the vertex set whose hyperedges are all -subsets of that contain at least one of the sets in . Observe that , and that , , , and . Hence, for every sufficiently large , every , some constant , and , we have
[TABLE]
Since every sum-free set satisfying forms an independent set in , it suffices to bound from above the size of .
To this end, let us show that the sequence of hypergraphs is -dense (recall Definition 2.7, Item 1). Let be a constant. By Theorem 3.5, for some and every sufficiently large integer , every set of size contains at least sets from for some . Observe that this implies, using , that such an satisfies for some , as required.
Now, we can apply Item 1 of Theorem 2.8 to obtain that for every there exists such that for every sufficiently large and every ,
[TABLE]
It follows that
[TABLE]
Since the bound holds for every , the result follows.
3.3 The Tight Bound – Proof of Theorem 1.3
In this section we estimate the number of sum-free sets with and confirm Theorem 1.3. Recall that a lower bound of follows by considering all subsets of the set . For the upper bound, we prove the following stronger statement.
Theorem 3.7**.**
There are sum-free sets satisfying .
A roadmap for the proof of Theorem 3.7.
In the proof, we count separately the sets that include ‘many’ elements which do not belong to and the sets that are almost contained in . The former sets are considered in Section 3.3.1, where we prove our stability result Theorem 1.2, combine it with a result of [5] on counting independent sets in hypergraphs, and obtain the required bound (see Corollary 3.11). To count the sets that are almost contained in , we consider two subcases: The sets whose elements are all greater than are considered in Section 3.3.2 (see Corollary 3.13), and those that include at least one smaller element are considered in Section 3.3.3 (see Lemma 3.16). We finally put everything together and derive Theorem 3.7 in Section 3.3.4.
Remark 3.8**.**
For simplicity of presentation, we omit throughout this section floor and ceiling signs whenever the implicit assumption that a certain quantity is integer makes no essential difference in the argument.
3.3.1 Stability
We restate and prove our stability result (recall Definition 3.4).
Theorem 3.9**.**
For every there exists such that for every sufficiently large integer the following holds. Every set of size contains at least sets from for some or satisfies .
We need the following simple lemma.
Lemma 3.10**.**
For and a sufficiently large integer , let be a set of size satisfying either or . Then, .
- Proof:
We prove the lemma under the assumption . The case of is similar. Assume by contradiction that . Denote , and notice that . Consider the interval of length , and observe that it contains pairwise disjoint sets of distinct satisfying . Since and , it follows that at least one element from every such set does not belong to , hence
[TABLE]
in contradiction.
- Proof of Theorem 3.9:
For a given define
[TABLE]
where , , , and are as in Corollaries 2.5 and 2.6. Notice that it can be assumed, whenever needed, that is sufficiently small (because the statement of the theorem is stronger for smaller values of ). For a sufficiently large integer , let be a set of size . Assume that for each , fewer than of the sets in are contained in . Our goal is to prove that .
We first apply Corollaries 2.5 and 2.6, once and three times respectively, to obtain a set such that is sum-free and satisfies and . Observe that
[TABLE]
and that, by Theorem 3.1, we have (recall Remark 3.8).
Consider the set . Observe that , as otherwise, by the pigeonhole principal, there exists for which , in contradiction to . By the sum-freeness of and (1), it follows that
[TABLE]
Rearranging, we obtain that
[TABLE]
Hence we can apply Theorem 2.2 to obtain that is contained in an arithmetic progression of length at most
[TABLE]
It follows that one can exclude at most elements from to get a subset contained in an arithmetic progression of length precisely such that
[TABLE]
and, using (1),
[TABLE]
Since , we have .
Let denote an arithmetic progression of length containing the set , and let denote its difference. Observe that , as otherwise , in contradiction to the bound given in (3) on the size of . We consider below each of the three possible values of separately.
: In this case for some . It suffices to show that , as this implies that , which using (2), yields that
[TABLE]
as desired.
By , we have that . Recall that , hence by Claim 2.1 it follows that . We conclude that includes all but at most of the elements of , and that includes all but at most of the elements of . Since is sum-free, it follows that the intervals and intersect at no more than elements, implying that , thus .
We next use the fact that , which implies that is disjoint from
[TABLE]
By Claim 2.1 and (3), . Therefore, the set includes all but at most of the elements of . This implies that the intervals and intersect at no more than elements, hence either
[TABLE]
The first possibility is ruled out using , so we derive that .
Finally, we use the fact that , which implies that is disjoint from
[TABLE]
Recalling that , the set includes all but at most of the elements of . It follows that the intervals and intersect at no more than elements, hence either
[TABLE]
The first possibility is ruled out using , so we derive that , and we are done. 2. 2.
: In this case the elements of are all even or all odd. We show that this is impossible. In the former alternative, the set is a sum-free subset of . However, the largest size of a sum-free subset of is , implying , in contradiction to (3). For the latter alternative, where the elements of are all odd, consider the set where (recall Remark 3.8), which by (3) satisfies
[TABLE]
Observe that the fact that implies that , that is, . By Lemma 3.10, all but at most of the elements of are in , and thus all but at most of the elements of are in . Let denote the set of odd integers in and note that . Using (3), it follows that there exists a set satisfying and . To obtain a contradiction we show that . Indeed, for every odd integers there exists such that , hence there are at least -tuples of elements of with sum . However, at most of them involve elements of , so assuming that is sufficiently small, there must exist a -tuple of elements of whose sum is , as desired. 3. 3.
: In this case all the elements of are congruent to modulo for some . We show that this is impossible. If then the set is a sum-free subset of , hence , in contradiction to (3). So assume that . Denote by the set of integers in which are congruent to modulo , and notice, using (3), that there exists a set satisfying and . For the given and , let be the unique integer in satisfying . To obtain a contradiction we show that . By the definition of , for every there exists such that , hence there are at least -tuples of elements of with sum . However, at most of them involve elements of , so assuming that is sufficiently small, there must exist a -tuple of elements of whose sum is , as desired.
The proof is completed.
Theorem 3.9 combined with a result of [5] on counting independent sets in hypergraphs (see Section 2.3) gives us the following corollary.
Corollary 3.11**.**
For every , there are sum-free sets satisfying
[TABLE]
- Proof:
Let be a sequence of -uniform hypergraphs defined as follows. For every , is the hypergraph on the vertex set whose hyperedges are all -subsets of that contain at least one of the sets in . Observe that and that , , , , and . Hence, for every sufficiently large , every , some constant , and , we have
[TABLE]
Since every sum-free set satisfying forms an independent set in , it suffices to bound from above, for a given , the number of sets satisfying .
To this end, let us show that the sequence of hypergraphs is -stable, where is defined by (recall Definition 2.7, Item 2). Let be a constant. By Theorem 3.9, for some and every sufficiently large integer , every set of size contains at least sets from for some or satisfies . In the former case we have, using , that for some , as required.
Now, we can apply Item 2 of Theorem 2.8 to obtain that for every there exist and such that for every sufficiently large and every , there are at most sets satisfying . In particular, this bound holds on the number of sets satisfying , hence the total number of sets satisfying is at most
[TABLE]
so we are done.
3.3.2 Sets with No Small Elements
Our goal in this section is to prove an upper bound on the number of sets , all of whose elements are greater than , that satisfy . To do so, we prove the following theorem, which yields the required bound as an easy corollary. (Recall Remark 3.8.)
Theorem 3.12**.**
There are sets satisfying .
Corollary 3.13**.**
There are sets satisfying .
- Proof of Corollary 3.13:
Map every set satisfying to the set , which satisfies . By Theorem 3.12, the number of possible distinct sets is . Since the mapping is injective, the corollary follows.
The proof of Theorem 3.12 employs a counting technique due to [3]. For every set we consider all sets with such that . The following two claims provide upper bounds on the number of sets associated with a given . The first is particularly useful for sets with a large sumset , and the second, whose proof uses Janson’s inequality, is useful for sets whose elements are, in average, significantly smaller than .
Claim 3.14**.**
For every integer and a set , the number of sets such that and is at most .
- Proof:
Fix a set . In order to specify a set satisfying one has to specify the elements of . However, the assumption implies that the elements of the set do not belong to . This implies that the number of sets such that and is at most , as required.
Claim 3.15**.**
For every integers , , and , the following holds. Let be a set with and . Then, the number of sets such that and is at most .
- Proof:
Fix a set with and . To prove the claim, we apply Janson’s inequality (Lemma 2.9) with and as follows. Let be the collection of all sets for which for some . Observe that every is associated with such sets (one of which might be of size ), consisting of the elements of the interval . This implies that . Let denote a random subset of , where every element of is included in independently with probability , and notice that if the set satisfies then no for is contained in . To bound the probability of this event, consider the quantities and from Lemma 2.9, and observe that . Further, every set of size (respectively ) intersects at most (respectively ) of the other sets, implying that . By Janson’s inequality, the probability that no is contained in is at most , which is bounded from above by . This yields an upper bound of on the number of sets such that and .
Now we are ready to prove Theorem 3.12, whose proof uses the above claims and the bounds given in Section 2.5 on the number of sets of integers with a bounded-size sumset.
- Proof of Theorem 3.12:
Fix a sufficiently small constant . For a set denote . For integers and , let denote the collection of all sets such that and . Our goal is to bound the size of the collection of all sets satisfying .
We first count the sets for which for and satisfying . Since subsets of are associated with , it can be assumed that . For given and , Lemma 2.11 implies that
[TABLE]
By Claim 3.15, at most sets are associated with the same . Hence, for a given ,
[TABLE]
To bound the above, observe that the function defined by satisfies for every ,
[TABLE]
assuming that is sufficiently small. By and the fact that is decreasing on , it follows that (5) is bounded from above by
[TABLE]
where we again use the fact that is sufficiently small. Summing over all integers we obtain a bound of .
We next count the sets for which for and satisfying . To do so, we consider the following two cases defined by the size of the sumset . Note that one can assume here, whenever needed, that is sufficiently large, as for a constant and for there is only a constant number of sets and they correspond to sets .
Consider the sets with satisfying . Combining (4) with Claim 3.14, the number of these sets for a given is at most
[TABLE]
where we have used and that is sufficiently small. Summing over all integers we obtain a bound of . 2. 2.
Consider the sets with satisfying , and recall that by Claim 2.1 we have . For such a set let be a real number satisfying . By Theorem 2.10, for a sufficiently large , the number of such sets is at most
[TABLE]
where for the inequality we have used , , and the assumption that is sufficiently small. By Claim 3.14 we obtain that, for given and , the number of sets as above is at most
[TABLE]
Summing over values of , say for , and over all integers , we obtain a bound of .
Summing all the obtained bounds, we get the required bound of , thus the proof is completed.
3.3.3 Sets that Include a Small Element and are Almost Contained in
Here we show an easy bound on the number of sum-free sets with that intersect and are almost contained in . (Recall Remark 3.8.)
Lemma 3.16**.**
For every sufficiently small , there are sum-free sets satisfying , , and .
- Proof:
Fix a set for which there exists . Observe that if then there is a collection of at least pairwise disjoint sets such that . In addition, if then there is a collection of at least pairwise disjoint sets such that . In both cases, every sum-free set with such that does not contain any of these sets, hence the number of such sets is at most . Summing over all choices of sets of size at most such that , we get that the total number of sets satisfying , , and , is at most
[TABLE]
where stands for the binary entropy function and is assumed to be sufficiently small.
3.3.4 Putting Everything Together
We are finally ready to prove Theorem 3.7, which confirms Theorem 1.3.
- Proof of Theorem 3.7:
Let be a sufficiently small constant. By Corollary 3.11, there are sum-free sets satisfying and . Hence, it suffices to bound the number of sum-free sets satisfying and . By Lemma 3.16, at most of them intersect , and by Corollary 3.13, at most of them do not. This completes the proof.
3.4 On the Tightness of Theorem 3.1
Theorem 1.1 provides a tight upper bound of on the size of every sum-free set satisfying . In fact, the bound is shown in Theorem 3.1 even under the weaker assumption . We claim that Theorem 3.1 is tight not only because of the bound that it provides, but also in the sense that the assumption cannot be relaxed to . To see this, let be an integer satisfying , and consider the set
[TABLE]
Notice that over we have , implying that is sum-free. We also have, over , that , implying that , which is divisible by , is not in . It follows that for every integer such that there exists a sum-free set satisfying whose size is . Another example of such a set is given by the set of all integers of that are congruent to or modulo . The following theorem shows that these constructions achieve the largest possible size of a set with these properties.
Theorem 3.17**.**
For every sufficiently large integer , every sum-free set such that satisfies
[TABLE]
The proof of Theorem 3.17 uses a recent characterization of large sum-free subsets of due to Tran [31] (see Theorem 2.3). We start with the following lemma.
Lemma 3.18**.**
For every integer , every nonempty sum-free set such that and satisfies .
- Proof:
Let be a sum-free set with , and denote . Assume first that . Consider the collection of pairwise disjoint pairs
[TABLE]
that involves all the elements of (Note that ). Since is sum-free and includes , for every pair we have or . Additionally, consider the collection of pairwise disjoint pairs
[TABLE]
that involves elements from (Note that ). Notice that for every pair we have , so by we have or . Since the pairs of are pairwise disjoint, it follows that the size of the set satisfies
[TABLE]
as required. Assume next that . Here, and a similar argument implies that
[TABLE]
so we are done.
- Proof of Theorem 3.17:
For a sufficiently large integer , let be a sum-free set such that . Apply Theorem 2.3 with . Assume by contradiction that . It suffices to prove that does not satisfy any of the five alternatives in Theorem 2.3.
Alternatives (1) and (2) are not satisfied because at most of the elements of are congruent to or modulo , and at most of them are congruent to or modulo .
For alternative (3), notice that if all the elements of are odd then . By Theorem 3.1, using , we get that , in contradiction.
For alternative (4), use Lemma 3.18 to obtain that if then , again in contradiction.
Finally, notice that if alternative (5) holds, with , then there exists a constant for which
[TABLE]
Denote and notice that the assumption implies that there exists of size such that . To obtain a contradiction, we show that . Indeed, for every there exists such that , hence there are at least triples of elements of with sum . However, at most of them involve elements of , so for a sufficiently large there must exist a triple of elements of whose sum is , and we are done.
While the bound given in Theorem 3.17 is tight for integers satisfying (see (6)), it turns out that this is not the case in general, as is shown in the following theorem.
Theorem 3.19**.**
There exists a constant such that for every sufficiently large integer such that , every sum-free set such that satisfies .
- Proof:
For a sufficiently large integer such that , let be a sum-free set satisfying . Apply Theorem 2.3 with a sufficiently small constant . Assume by contradiction that . It suffices to prove that does not satisfy any of the five alternatives in Theorem 2.3.
Assume that alternative (1) holds, that is, all the elements of are congruent to or modulo . Denote by the set of integers in which are congruent to modulo . Letting where for , the assumption implies that for . To obtain a contradiction, we show that . Observe that by there exist such that . Further, for every and there exists such that , hence there are at least triples in with sum . However, at most of them involve elements not in , so for a sufficiently small there must exist a triple of elements of whose sum is , as required.
Alternative (2) is handled similarly to the way alternative (1) is, so we omit the details.
For alternative (3), notice that if all the elements of are odd then . By Theorem 3.1, using , we get that , in contradiction.
For alternative (4), use Lemma 3.18 to obtain that if then , again in contradiction.
Finally, notice that if alternative (5) holds then for we have
[TABLE]
Denote and notice that there exists of size such that . To obtain a contradiction, we show that . Recall that there are at least triples of elements of with sum (see the proof of Theorem 3.17). However, at most of them involve elements of , so for a sufficiently small there must exist a triple of elements of whose sum is , and we are done.
3.5 Other Forbidden Sums
Although the current work focuses on sum-free sets that satisfy , it is natural to consider other forbidden sums, different from , as well. We first observe that Theorem 1.3 can be used to obtain a tight estimation for the number of sum-free subsets of with an odd forbidden sum around .
Corollary 3.20**.**
For every fixed integer , there are sum-free sets satisfying .
- Proof:
Apply Theorem 1.3 to get that there are sum-free sets satisfying . Considering the subsets of with this property, the estimation is affected by no more than a multiplicative constant factor of , so we are done.
For the forbidden sum , we prove the following extremal result, whose proof resembles that of Theorem 1.1.
Theorem 3.21**.**
For every integer , the maximum size of a sum-free set such that is .
- Proof:
For the upper bound, let be a sum-free set such that . Consider the set . By the sum-freeness of and Claim 2.1, . We claim that . To see this, notice that and that , hence . If then, by the pigeonhole principle, there exists for which , implying that , in contradiction. It follows that , hence as required. The set implies a matching lower bound.
We remark that it can be verified that the proof technique of Theorem 3.7 can be used to obtain a tight bound of on the number of sum-free sets satisfying . Combining it with the lower bound that follows from Theorem 3.21, we get that there are sum-free sets such that (and, as in Corollary 3.20, one can derive such a bound for every even forbidden sum around ). However, we point out a significant difference between the forbidden sums and . We prove below a bound of on the number of sets satisfying , which holds even without assuming the sum-freeness of the sets. This is in contrast to the forbidden sum that is avoided by the subsets of that consist of only even integers.
Proposition 3.22**.**
There are sets satisfying .
The proof uses the following special case of a result of Alon [1].
Theorem 3.23** ([1]).**
For every and every sufficiently large integer , every set of size contains a set satisfying and (in ).
- Proof of Proposition 3.22:
We first claim that for every and every sufficiently large integer , every set of size satisfies . Indeed, applying Theorem 3.23 to the set considered as a subset of , it follows that or , thus .
We next obtain the following supersaturation statement: For every there exists such that for every sufficiently large integer , every set of size contains at least -subsets of with sum for some . To see it, for a given define where , , and are as in Corollary 2.6. Assume by contradiction that for a sufficiently large , a set of size contains fewer than -subsets of with sum for every . Applying Corollary 2.6 three times with and we obtain that there exist sets , each of which is of size at most , such that . Hence, the set has size , and yet satisfies , in contradiction.
Now, let be a sequence of -uniform hypergraphs defined as follows. For every , is the hypergraph on the vertex set whose hyperedges are all -subsets of that contain , , or distinct elements of whose sum is . It is straightforward to verify that , and that , , , , , and . Hence, for every sufficiently large , every , some constant , and , we have
[TABLE]
Since every set satisfying forms an independent set in , it suffices to bound from above the size of . By the above supersaturation result, the sequence of hypergraphs is -dense (recall Definition 2.7, Item 1). Applying Item 1 of Theorem 2.8, we obtain that for every there exists such that for every sufficiently large and every ,
[TABLE]
It follows that
[TABLE]
Since the bound holds for every , the result follows.
4 Symmetric Complete Sum-free Sets in Cyclic Groups
In this section we relate our study of sum-free subsets of with as a forbidden sum to counting symmetric complete sum-free sets in cyclic groups of prime order (see Section 2.1 for the definitions).
For a prime , an even integer , and a set of integers where , consider the set defined by
[TABLE]
Observe that if and only if , and that if and only if . As mentioned earlier, it was shown in [21] that for every sufficiently large prime , every symmetric complete sum-free subset of of even size is, up to an automorphism, of the form for some set of integers of size . Moreover, those sets for which is complete and sum-free were fully characterized in [21]. To state the characterization result, we need the following definition.
Definition 4.1**.**
For an integer we say that a set is -special if it satisfies
, 2. 2.
, and 3. 3.
.
Note that the addition is over the integers.
Theorem 4.2** ([21]).**
For every sufficiently large prime and every even integer , the following holds. The symmetric complete sum-free subsets of of size are precisely all the dilations of the sets for -special sets where .
The above theorem reduces the challenge of counting the symmetric complete sum-free subsets of of a sufficiently large size to counting the -special sets for an appropriate (There is an exact multiplicative gap of between the two; see [21, Theorem 1.2]). As an application of Theorem 1.3, we prove below the following tight estimation for the number of -special sets that satisfy .
Theorem 4.3**.**
There are -special sets satisfying .
This easily implies, for a sufficiently large , a tight estimation for the number of symmetric complete sum-free sets of size that satisfy , confirming Theorem 1.4.
- Proof of Theorem 1.4:
Let be a sufficiently large prime and let be an even integer. Denote . By Theorem 4.2, the number of symmetric complete sum-free sets of size that satisfy is equal to the number of -special sets that satisfy . By Theorem 4.3, the latter is equal to , so we are done.
4.1 Counting Special Sets – Proof of Theorem 4.3
We start with the following simple claim that shows that for a set that includes [math], the first and second conditions in Definition 4.1 imply the third.
Claim 4.4**.**
For every integer and a set satisfying , , and , the following holds.
For every exactly one of the elements and belongs to . 2. 2.
For every , if then . 3. 3.
* is -special.*
- Proof:
Assume that a set satisfies , , and .
Let . The elements and cannot both belong to as their sum, together with , is , which does not belong to . In addition, if does not include one of and for some then its size cannot reach . This completes the proof of the first item. 2. 2.
For assume that . By , it follows that , hence by Item 1, . 3. 3.
To prove that is -special it suffices to show that . Indeed, every for which satisfies, by Item 1, , and we are done.
Consider the following notion of sets that are closed under addition.
Definition 4.5**.**
For an integer , we say that a set is closed under addition if for every such that we have . Let denote the collection of all sets that are closed under addition and satisfy .
In the following lemma, we relate counting special sets that include [math] to counting sets that are closed under addition.
Lemma 4.6**.**
For an integer , let be the collection of all -special sets satisfying . Then, .
- Proof:
For an integer , consider the function that maps every set to the set
[TABLE]
To prove the lemma, it suffices to show that is a bijection from to . We first observe that for every we have . Indeed, for we have and thus, by , we also have . Further, using Item 2 of Claim 4.4, it follows that is closed under addition as a subset of , hence .
The function is injective by Item 1 of Claim 4.4 and the fact that for every . To prove that is surjective, take a set and define
[TABLE]
We clearly have , , and . By Item 3 of Claim 4.4, to prove that it suffices to show that . Assume by contradiction that there are such that . Observe, using , that exactly one of , say , is in . Since , it follows that and thus . Using the fact that is closed under addition, we get that . However, , in contradiction to the fact that , by definition, contains no two elements whose sum is , and we are done.
We turn to estimate the size of . To do so, we need the following lemma.
Lemma 4.7**.**
For an integer , let be the collection of all sum-free sets that satisfy . Then, .
- Proof:
For an integer , consider the function that maps every set to the set defined by the following process: Go over the elements of from the largest one to the smallest one, and exclude every element of that forms a sum of two smaller elements in the set. To prove the lemma, it suffices to show that is an injective function from to .
We first show that for every we have . Let . It follows from the definition that is a sum-free subset of . Assume by contradiction that , that is, there exist and such that . We claim that the integers can be partitioned into sets, each of which is of sum at most . To see this, start with the singleton partition and repeatedly combine pairs of sets whose joint sum is at most . This process must terminate with exactly sets, since there are no integers with total sum at most such that the sum of every two of them is larger than . Since is closed under addition and contains , it follows that , in contradiction.
To complete the proof, we show that is injective. For distinct sets , let be the smallest integer that belongs to exactly one of them, and assume without loss of generality that and . Since is closed under addition, is not a sum of two elements of , and by the minimality of , it is not a sum of two elements of as well. Therefore, and , hence .
Corollary 4.8**.**
.
- Proof:
For the upper bound, combine Lemma 4.7 with Theorem 1.3. For the lower bound, consider all subsets of the set to obtain that .
Finally, to derive Theorem 4.3, combine Lemma 4.6 with Corollary 4.8.
Acknowledgments
We are deeply indebted to Wojciech Samotij for helpful discussions and suggestions. We also thank the anonymous referees for their valuable comments that improved the presentation of the paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] N. Alon. Subset sums. J. of Number Theory , 27(2):196–205, 1987.
- 2[2] N. Alon, J. Balogh, R. Morris, and W. Samotij. Counting sum-free sets in abelian groups. Israel J. of Math. , 199(1):309–344, 2014.
- 3[3] N. Alon, J. Balogh, R. Morris, and W. Samotij. A refinement of the Cameron- Erdős conjecture. Proc. London Math. Soc. , 108(1):44–72, 2014.
- 4[4] N. Alon and J. Spencer. The Probabilistic Method . John Wiley, 4th edition, 2016.
- 5[5] J. Balogh, R. Morris, and W. Samotij. Independent sets in hypergraphs. J. Amer. Math. Soc. , 28(3):669–709, 2015.
- 6[6] N. J. Calkin and P. J. Cameron. Almost odd random sum-free sets. Combinatorics, Probability and Computing , 7(1):27–32, 1998.
- 7[7] P. J. Cameron. On the structure of a random sum-free set. Probability Theory and Related Fields , 76(4):523–531, 1987.
- 8[8] P. J. Cameron. Portrait of a typical sum-free set. In C. Whitehead, editor, Surveys in Combinatorics 1987 , volume 123, pages 13–42. Cambridge Univ. Press, 1987.
