Abstract
In this paper, we rectify two previous results found in the literature. Our work leads to a new upper bound for the largest sum-free subset of with the lowest value in , and the identification of all patterns that can be used to form sum-free sets of maximum cardinality.
MSC:
05B10; 11B75
1. Introduction
Let A be a non-empty and finite set containing positive integers such that for some , and . We call A sum-free if , sum-free sets are actively the subject of research (see, for instance, the surveys [,], and references therein). There are infinitely many examples of sum-free sets such as , or even the set of all odd numbers in . We call A maximal sum-free if there is no sum-free subset of of which A is a proper subset. The maximum possible cardinality for a sum-free A is , and implies that A is maximal sum-free. However, the converse is not true. For instance, if we take and , we can see that A is maximal sum-free but not of maximum cardinality.
The contribution of this paper lies in rectifying two findings from the existing literature, leading to (i) a new upper bound for the largest sum-free subset of with the lowest value in , and (ii) the identification of all patterns that can be used to form sum-free sets of maximum cardinality.
2. Cardinality Upper Bounds for Sum-Free Sets
Cameron and Erdős [] introduced the following theorem.
Theorem 1.
Let be the cardinality of the largest sum-free subset of with lowest value m. Then,
However, the bounds above do not always apply as we show below.
Theorem 2.
Let A be a largest sum-free subset of with the lowest value m, , and . Then, . If, in addition, , then there exist exactly two sets in which .
Proof.
First, we present a counterexample showing that the original does not always apply. Let and . Clearly, , indicating that . However, is sum-free and has cardinality three.
The proof presented by Cameron and Erdős [] estimates for based on the maximum possible cardinality of A, that is, , and the fact that for any A contains only one element of the pair so that it appears that elements can be excluded from being possible elements of A. This leads to the upper bound . However, in our counterexample, we have , so the pairs are . Given , counts 4 twice as an element to be excluded. Thus, this upper bound fails when there exists a , such that .
Let us improve the above condition. If , then implies , which cannot be as A is sum-free. Hence, with . Notice that . Hence, and . Given , it cannot be that . Hence, and . Thus, there can be a maximum of one element counted twice to be excluded from A. Finally, if and , then .
Further to the above, if , then A has cardinality or depending on the parity of n. Let n be odd, then . We have that , and . Hence, and . Let n be even, then . We have that , leading to . Hence, and . The latter is the only possibility. □
Corollary 1.
The upper bounds for g(n,m) are
Proof.
Theorem 2 has . Hence, the new bound of . □
3. All Sum-Free Sets of Maximum Cardinality
Cameron and Erdős [] present what is probably the first taxonomy regarding the sum-free sets we are interested. They state, without proof, that the only sum-free sets of cardinality are as follows:
- The odd numbers in the interval ;
- If n is odd, ;
- If n is even, and .
In this section, our main objective is to prove the following.
Theorem 3.
There are exactly four sum-free sets with cardinality that do not adhere to the taxonomy introduced by Cameron and Erdős. These are , where ; and , both for ; and , where .
Cameron and Erdős’ taxonomy states the only possibilities for m are as follows: (1) , or (2) and A is composed solely of odd numbers. If we are to prove Theorem 3, we must then challenge both of these.
Lemma 1.
There is no sum-free set of positive integers with cardinality and .
Proof.
First, we show that if , then . With this value of m, Theorem 1 gives us that . Let us assume, for a contradiction, that a sum-free set A (under the requirements of the hypothesis) can have a cardinality that is any lower than this upper bound (that is, ). We have that
However, . Hence, this cannot be, and the upper bound of is attained. This leads to
Thus, .
Now, we show that if , then there is no suitable m. Notice that , but . Hence, the exceptions identified in Theorem 2 do not apply. Thus, we can use Theorem 1, leading to the upper bound . We have that , so it cannot be that . □
Clearly, we now need to analyse the cases in which . Here, we are interested in non-trivial sum-free sets of maximum cardinality. Notice that if , then and are the only possible sum-free sets. However, both of these are already covered by Cameron and Erdős’ taxonomy. Hence, we focus on leading to with .
Lemma 2.
There are exactly two sum-free sets with cardinality containing 1 that are not covered by Cameron and Erdős’ taxonomy.
Proof.
Let p be the highest element of A. Given that A is sum-free, at most one element of each of the following pairs can be an element of A:
Notice that there are such pairs; however, we know that , and there is no pair with p as an element. Clearly, . That is, A must contain one element from each pair.
If , we have with . The only possible combination is ; however, this set is already covered by Cameron and Erdős’ taxonomy. If , we have a new , which is our first sum-free set. Recall that A is sum-free if and only if A is difference-free. We have that
Hence, . If , then , which is already covered by Cameron and Erdős’ taxonomy. If , then the only possibility is . The latter is our second and last sum-free set under the hypothesis.
We now show that the general pattern for A is , for an odd p. We have identified that for . Let a be the highest known value in A, that is, we begin with . Hence, . Clearly, a is odd and is the next odd number from a. Now, is the highest known number in A, so we increment a such that . Of course, we still have that . We can repeat this procedure as many times as necessary. Hence, . Let us assume, for a contradiction, that p is even. In this case, A has only two even numbers, p and . However,
The above implies that A has three even numbers, which cannot be. Thus, p is odd. Given A is of maximum cardinality, we have that and A is the set of odd numbers in . This set is already covered by Cameron and Erdős’ taxonomy. □
Lemma 3.
There are exactly two sum-free sets with cardinality containing 2 that are not covered by Cameron and Erdős’ taxonomy.
Proof.
Let A be a sum-free set of maximum cardinality. The lowest possible cardinality of a non-trivial A leads to . We have that , leading to , and by consequence, . However, this set is already covered by Cameron and Erdős’ taxonomy.
Recall that A must contain one element of each pair:
By consequence,
Thus, if , we have . Notice that , leading to , which cannot be. On the other hand, , leading to the only valid combination of . This is our first sum-free set.
Recall that a set is sum-free if and only if it is also difference-free. We have that
Hence, leads to . If , every possible value of p (that is ) leads to an A that is not sum-free. If , the only possible combination is . This is our second and last sum-free set under the hypothesis. Let us carry on.
The above shows that , making A no longer sum-free. □
Using the lemmas above, we can prove the main theorem of this section.
Proof of Theorem 3.
The taxonomy introduced by Cameron and Erdős presents all possible cases for sum-free sets of maximum cardinality with . Hence, if there are exceptions to this taxonomy, these can only happen if .
Lemma 1 shows that there is no maximal sum-free set of positive integers with . Thus, the only possibility is if . Lemmas 2 and 3 address the cases of and , respectively. These lemmas identify four sum-free sets not covered by Cameron and Erdős’ taxonomy. Specifically, these are , where ; and , both for ; and , where . Hence, these are the only possible exceptions. □
Funding
This research received no external funding.
Data Availability Statement
No new data were created or analyzed in this study.
Acknowledgments
The author would like to thank Sarah Hart for her comments on an early version of this manuscript and discussions on sum-free sets.
Conflicts of Interest
The author declares no conflicts of interest.
References
- Luczak, T. On sum-free sets of natural numbers. Resenhas Inst. Matemática E Estatística Univ. Sao Paulo 1995, 2, 229–238. [Google Scholar]
- Tao, T.; Vu, V. Sum-free sets in groups: A survey. J. Comb. 2017, 8, 541–552. [Google Scholar] [CrossRef]
- Cameron, P.J.; Erdős, P. Notes on sum-free and related sets. Comb. Probab. Comput. 1999, 8, 95–107. [Google Scholar] [CrossRef]
- Cameron, P.J.; Erdős, P. On the number of sets of integers with various properties. In Number Theory; Mollin, R.A., Ed.; Walter de Gruyter GmbH: Berlin, Germany, 1990; pp. 61–79. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).