2000 Mathematics Subject Classification. 11B34,11B75,05B35,05A17,05B40. M.B.N. is supported in part by grants from the NSA Mathematical Sciences Program and the PSC-CUNY Research Award Program.
<ph f="cmbx">Maximal Sidon sets and matroids</ph>

J. A. Dias da Silva

Melvyn B. Nathanson

Departamento de Matematica, Faculdade de Ciencias, Universidade de Lisboa, Campo Grande, Bloco C6, 1749-016 Lisboa, Portugal E-mail address : perdigao@hermite.cii.fc.ul.pt Department of Mathematics, Lehman College (CUNY), Bronx, New York 10468, USA E-mail address : melvyn.nathanson@lehman.cuny.edu

1 An extremal problem for Sidon sets

Let A   be a subset of an abelian group Γ   . Two h   -tuples ( a 1 , , a h )   and ( a 1 , , a h )   of elements of A   are called equivalent, denoted ( a 1 , , a h ) ( a 1 , , a h ) ,   if there is a permutation σ   of the set { 1 , , h }   such that a i = a σ ( i )   for i = 1 , , h .   If the h   -tuples ( a 1 , , a h )   and ( a 1 , , a h )   are equivalent, then a 1 + + a h = a 1 + + a h   . We write ( a 1 , , a h ) ( a 1 , , a h )   if the h   -tuples ( a 1 , , a h )   and ( a 1 , , a h )   are not equivalent.
The h   -fold sumset of A   , denoted h A   , is the set of all elements of Γ   that can be written as the sum of h   elements of A   , with repetitions allowed. For every x Γ ,   the representation function r A , h ( x )   counts the number of inequivalent representations of x   as a sum of h   elements of A   , that is, the number of equivalence classes of h   -tuples ( a 1 , , a h )   such that x = a 1 + + a h .   The set A   is called a Sidon set of order h   or a B h   -set if every element of the sumset h A   has a unique representation as the sum of h   elements of A   , that is, if r A , h ( x ) = 1   for all x h A   . This means that if a 1 , , a h , a 1 , , a h A   and a 1 + + a h = a 1 + + a h ,   then ( a 1 , , a h ) ( a 1 , , a h ) .   A Sidon set is a Sidon set of order 2.
Let X   be a subset of the group Γ ,   and denote by h ( X )   the set of all finite B h   -sets contained in X   . Every set is a B 1   -set, and h ( X ) h 1 ( X ) 2 ( X ) 1 ( X ) .   Moreover, { a } B h ( X ) for all a X and h 1 .   If A   is a Sidon subset of order h   contained in the group Γ ,   then for every x Γ   the translation x + A = { x + a : a A }   and the reflection x A = { x a : a A }   are also Sidon sets of order h   .
A classical problem in combinatorial and additive number theory is to determine the cardinality of the largest Sidon set of order h   contained in the interval of integers { 1 , 2 , , n } .   More generally, if X   is a finite subset of the integers or of any abelian group Γ   , it is an open problem to estimate the maximum cardinality of a Sidon set of order h   contained in X   . Every B h   -subset of a finite set X   is contained in a maximal B h   -set, but there can be maximal Sidon sets of different cardinalities contained in X   . For example, in the interval { 1 , 2 , 3 , 4 , 5 , 6 , 7 }   , the sets { 1 , 3 , 6 , 7 }   and { 1 , 2 , 5 , 7 }   are the two maximal Sidon subsets of size 4, but there are also exactly 18 maximal Sidon subsets of size 3, for example, { 1 , 3 , 4 } .   Erdős and Turán [3proved that the maximum size of a Sidon set of order 2 contained in { 1 , 2 , , n }   is n 1 / 2 + o ( n 1 / 2 ) .   Ruzsa [6has constructed maximal Sidon subsets of this interval of cardinality ( n log n ) 1 / 3 .   (See Martin and O'Bryant [4for constructions of finite Sidon sets of integers and O'Bryant [5for a survey of the recent literature.) The purpose of this paper is to describe a class of finite sets, called B 2 h 1 , h 1   -sets, in which all maximal Sidon sets of order h   have the same cardinality. Indeed, we shall prove that every B 2 h 1 , h 1   -set is a matroid in which the B h   -sets are the independent sets. A maximal independent set in a matroid is called a basis, and all bases in a matroid have the same cardinality.

2 Generalized Sidon sets of order ( h , k )  

Let X   be a subset of an abelian group Γ .   Let h   and k   be positive integers with k h .   The set X   is called a generalized Sidon set of order ( h , k )   or a B h , k   -set if, whenever a 1 , , a h , a 1 , , a h X   and
a 1 + + a h = a 1 + + a h , (1)
there exist sets I , I { 1 , , h }   with | I | = | I | = k   and a one-to-one map τ : I I   such that a i = a τ ( i )   for all i I .   Let J = { 1 , , h } \ I   and J = { 1 , , h } \ I   . Then | J | = | J | = h k   . Since X   is a subset of the group Γ ,   it follows by subtraction that
j J a j = j J a j . (2)
The Sidon sets of order h   are precisely the B h , h   -sets.
A simple example of a B 3 , 1   -set that is not a B 3   -set is { 1 , 2 , 3 }   . Indeed, { 1 , 2 , 3 } 2 h 1 , 1 ( Z ) \ 2 h 1 , 2 ( Z )   for every h 2 .   Another example of a B 3 , 1   -set is { 1 , 14 , 19 , 20 , 25 , 38 }   .
Let h , k = h , k ( Γ )   denote the set of all finite B h , k   -sets in Γ   . It follows from ( 1 ) and ( 2 ) that if A   is a B ( h , k )   -set and also a B h k   -set, then A   is a B h   -set. Conversely, if A   is a B h   -set, then A   is both a B h , k   -set and a B h k   -set. Therefore,
h = ( h , k ) h k (3)
for k = 1 , , h .   In particular, for h 2   we have
2 h 1 = ( 2 h 1 , h 1 ) h . (4)
Thus, if A   is a B h   -subset of a B 2 h 1 , h 1   -set, then A   is a B 2 h 1   -set.
Similarly, if k   and   are positive integers and k + h ,   then
h , k = h , h , k (5)
for 0 < k h .   It follows that
2 h 1 , h 1 2 h k , h k (6)
for 1 k h 1 .   Let X   be a subset of an abelian group Γ   . We have
h , h ( X ) h , k + 1 ( X ) h , k ( X ) h , 1 ( X ) (7)
for k = 1 , , h 1 .   In the group Z   of integers, if g > h ,   then every finite subset of the set { g i : i = 1 , 2 , 3 , }   is a B h   -set, and so B h , k   -sets exist for all h 1   and k = 1 , , h .   However, not all of the set inclusions in ( 7 ) are proper.
Theorem 1. Let X   be a subset of an abelian group Γ   . If h 2   and k h / 2 ,   then h ( X ) = h , k ( X ) .  
  • Proof. It suffices to show that h , k + 1 ( X ) = h , k ( X )   if h / 2 k h 1 .   If h , k + 1 ( X ) h , k ( X )   , then there is a set A h , k ( X ) \ h , k + 1 ( X )   and there are elements a 1 , , a h k , a 1 , , a h k A   such that
    a 1 + + a h k = a 1 + + a h k (8)
    and { a 1 , , a h k } { a 1 , , a h k } = .   The inequality h / 2 k h 1   implies that 1 h k k   . By the division algorithm, h = q ( h k ) + r ,   where q 1   and 0 r < h k .   It follows from ( 8 ) that q a 1 + + q a h k + r a * = q a 1 + + q a h k + r a *   for any a * A   . Each side of this equation is a sum of h   elements of A   , but the two sides have only r < h k k   common summands. This is impossible if A h , k ( X )   , and so h , k + 1 ( X ) = h , k ( X )   . This completes the proof.
Dias da Silva and Nathanson [2have constructed nontrivial generalized Sidon sets of order ( 2 h 1 , h 1 )   for all h 2 .   We remark that if h , k ( Z ) \ h , k + 1 ( Z )   , then h , k ( Z ) \ h , k + 1 ( Z )   contains arbitrarily large finite sets of integers.
Theorem 2. Let 1 k < h / 2   . If A   is a finite set of integers in h , k \ h , k + 1   and b > h max ( A ) ,   then A { b } h , k \ h , k + 1 .  
  • Proof. Let A * = A { b } .   Let 0 r s h   and let { a i } i = 1 h r   and { a i } i = 1 h s   be subsets of A   such that r b + i = 1 h r a i = s b + i = 1 h s a i .   We must show that at least k   summands on the left are the same as k   summands on the right. If 0 r < s h ,   then r b + i = 1 h r a i < ( r + 1 ) b s b s b + i = 1 h s a i ,   which is absurd. Therefore, r = s   and i = 1 h r a i = i = 1 h r a i .   If r k ,   we are done. If r < k ,   then A h , k h r , k r   implies that k r   summands on the left are the same as k r   summands on the right, and so A { b } h , k .   If A h , k + 1 ( Z ) ,   then A { b } h , k + 1 ( Z ) .   This completes the proof.

3 Maximal Sidon sets of order h  

Let X   be a subset of an abelian group Γ .   A double representation of length   in X   is a sequence a 1 , a 2 , , a , a 1 , a 2 , , a   of 2   not necessarily distinct elements of X   such that
a 1 + a 2 + + a = a 1 + a 2 + + a (9)
and ( a 1 , , a ) ( a 1 , , a ) .   There exists a double representation of length h   in the set X   if and only if X   is not a B h   -set.
The double representation ( 9 ) is called proper if { a 1 , a 2 , , a } { a 1 , a 2 , , a } = .   If ( 9 ) is a double representation of length ,   then we can cancel elements that appear on both sides of the equation, and obtain a unique proper double representation of length ,   where 1 .  
Lemma 1. Let h 2   and let X   be a finite B 2 h 1 , h 1   -subset of an abelian group Γ .   If a 1 + a 2 + + a = a 1 + a 2 + + a   is a proper double representation of length 2 h 1 ,   then = h   .
  • Proof. By ( 6 ) we have 2 h 1 , h 1 2 h k , h k   for k = 1 , 2 , , h 1 .   If h + 1 2 h 1 ,   then = 2 h k ,   where 1 k h 1 .   Since X 2 h k , h k   and h k 1 ,   it follows that a i = a j   for some i , j { 1 , , } ,   which contradicts the hypothesis that the double representation is proper. Therefore, h .   Suppose that h 1 .   By the division algorithm, there exist integers q   and r   such that 2 h 1 = q + r   and 0 r 1 h 2 .   Then q a 1 + q a 2 + + q a = q a 1 + q a 2 + + q a   is a proper double representation of length q ,   where h + 1 q = 2 h 1 r 2 h 1 ,   which is impossible. Therefore, = h .   This completes the proof.
Lemma 2. Let h 2 ,   let X   be a finite B 2 h 1 , h 1   -subset of an abelian group Γ ,   and let A   be a maximal B h   -subset of X   . For every x X \ A ,   there is exactly one proper double representation with elements in A { x }   and of length at most 2 h 1 .  
  • Proof. Since A   is a maximal B h   -set contained in X   , it follows that A { x }   is not a B h   -set, and so there exists a double representation of the form u x + a 1 + + a h u = v x + a 1 + a 2 + + a h v .   Let u v .   Subtracting equal elements that appear on both sides of this equation and renumbering the elements that remain in the equation, we obtain a proper double representation of length h   . By Lemma  1 , we must have = h   , and so v = 0   , there is no cancelation, and the proper double representation is be of the form
    u x + a 1 + + a h u = a 1 + a 2 + + a h . (10)
    Suppose that w 1   and
    w x + b 1 + + b h w = b 1 + b 2 + + b h (11)
    is also a proper double representation of length h   in A { x } .   Adding equations ( 10 ) and ( 11 ), we obtain u x + a 1 + + a h u + b 1 + b 2 + + b h = w x + a 1 + a 2 + + a h + b 1 + + b h w .   If u = w ,   we obtain the relation a 1 + + a h u + b 1 + b 2 + + b h = a 1 + a 2 + + a h + b 1 + + b h u ,   where all of the summands belong to the B h   -set A   . It follows that every term on the left appears on the right, and conversely. Since a j a i   for all i   and j   , we must have a bijection between the sets { a 1 , , a h u }   and { b 1 , , b h u }   . Similarly, there is a bijection between the sets { a 1 , , a h }   and { b 1 , , b h }   , and so the double representations ( 10 ) and ( 11 ) are equivalent. Thus, for every positive integer u   there is at most one proper double representation of the form ( 10 ).
    If u < w ,   we obtain the double representation a 1 + + a h u + b 1 + b 2 + + b h = ( w u ) x + a 1 + a 2 + + a h + b 1 + + b h w .   Cancelling elements that appear on both sides of this equation, we obtain a proper double representation of the form ( w u ) x + a 1 + + a h w + u = a 1 + a 2 + + a h ,   where w u 1   and { a 1 , , a h w + u , a 1 , a 2 , , a h } A .   We call this process the “subtraction algorithm.” Let u   be the smallest positive integer for which there exists a proper double representation of the form ( 10 ). Suppose that there is a proper double representation of the form ( 11 ) for some integer w > u .   By the division algorithm, we write w = q u + r ,   where 0 r < u .   If r 1 ,   then iteration of the subtraction algorithm above yields a proper double representation in which the element x   appears exactly r   times, which contradicts the minimality of u   . It follows that u   must divide w   .
    Moreover, if there exists a proper double representation for some w > u ,   then the subtraction algorithm produces a double representation with w = 2 u .   Thus we have proper double representations of the form
    u x + a 1 + + a h u = a 1 + a 2 + + a h (12)
    and
    2 u x + b 1 + + b h 2 u = b 1 + b 2 + + b h , (13)
    where { a 1 , , a h u } { a 1 , a 2 , , a h } =   and { b 1 , , b h 2 u } { b 1 , b 2 , , b h } = .   Adding equations ( 12 ) and ( 13 ) and cancelling u x ,   we obtain the following double representation of length 2 h u   : u x + a 1 + a 2 + + a h + b 1 + + b h 2 u = a 1 + + a h u + b 1 + b 2 + + b h .   After subtracting h u   equal terms on both sides of this equation, we must obtain the proper double representation ( 12 ). This means that on the left side we must have a 1 + a 2 + + a h u   . Since { a 1 , , a h u } { a 1 , a 2 , , a h } = ,   it follows that the sequence ( a 1 , a 2 , , a h u )   is equivalent to the sequence ( b 1 , b 2 , , b h 2 u )   , which is absurd since h 2 u < h u .   This completes the proof.
Lemma 3. Let h 2 ,   and let A   be a maximal B h   -subset of the B 2 h 1 , h 1   -set X   . Let x X \ A ,   and let
u x + a 1 + + a h u = a 1 + a 2 + + a h (14)
be the unique proper double representation of length h   with elements in A { x } .   For every a * { a 1 , a 2 , , a h u , a 1 , a 2 , , a h } ,   the set ( A { x } ) \ { a * }   is a B h   -set contained in X   .
  • Proof. If ( A { x } ) \ { a * }   is not a B h   -set, then there must exist a positive integer v   and elements b 1 , , b v , b 1 , , b h A \ { a * }   such that
    v x + b 1 + + b h v = b 1 + b 2 + + b h (15)
    is a proper double representation in X   . Then ( 14 ) and ( 15 ) are different proper double representations of length h   in X   , which contradicts Lemma  2 .
Theorem 3. Let h 2 ,   and let X   be a finite B 2 h 1 , h 1   -set contained in the abelian group Γ .   Then the maximal B h   -subsets of X   have the same cardinality.
  • Proof. Let h ( X )   be the set of maximal B h   -sets contained in X   , and let m = max { | C | : C h ( X ) } .   We must prove that | C | = m   for every C h ( X ) .   Let C h ( X ) ,   and let C *   be the largest subset of C   that is contained in a B h   -set A   of cardinality m   . If C * = C ,   then the maximality of C   implies that C = A   , and so | C | = m .   If C * C ,   then there exists s C \ A .   By the maximality of A   , the set A { s }   is not a B h   -set, and there exists a proper double representation of the form w s + a 1 + + a h w = a 1 + + a h ,   where { s , a 1 , a 2 , , a h u } { a 1 , a 2 , , a h } = .   If
    { a 1 , a 2 , , a h u , a 1 , a 2 , , a h } C * A , (16)
    then ( 16 ) is a proper double representation of length h   with elements in C   , which contradicts the fact that C   is a B h   -set. Therefore, there exists an element a * { a 1 , a 2 , , a h u , a 1 , a 2 , , a h } \ C * .   By Lemma  3 , the set ( A { s } ) \ { a * }   is a B h   -set contained in X   , and C * { s } ( A { s } ) \ { a * } .   This is impossible, since C * { s } C ,   | C * { s } | = | C * | + 1 ,   and | ( A { s } ) \ { a * } | = | A | = m .   Therefore, C * = C .   This completes the proof.

4 Matroids of B h   -sets

A matroid M = M ( X , )   consists of a finite set X   and a collection   of subsets of X   that satisfy the following properties:
  • (i) ,  
  • (ii) If B   and A B ,   then A ,  
  • (iii) If A , B   and | A | < | B | ,   then there exists b B \ A   such that A { b } .  
The members of   are called the independent sets in X   . A basis for X   is a maximal independent set. Condition (iii) implies that all bases have the same cardinality.
The rank of the matroid M   is the cardinality of a basis for M   .
Theorem 4. Let h 2 ,   and let X   be a finite B 2 h 1 , h 1   -subset of an abelian group. Let   be the collection of B h   -sets contained in X   . Then M = M ( X , )   is a matroid.
  • Proof. Every subset of a B h   -set is a B h   -set, and the empty set is also a B h   -set. We must show that if A   and B   are B h   -subsets of X   with | A | < | B | ,   then there exists b B \ A   such that A { b }   is a B h   -set.
    Let X = A B .   Then X   is a B 2 h 1 , h 1   -subset of X   . Let m   be the cardinality of the maximal B h   -subsets of X   . Let A *   be a maximal B h   -subset of X   that contains A   . Then | A | < | B | m = | A * | ,   and so there exists an element b A * \ A X \ A = B \ A .   Then A { b } A * ,   and so A { b }   is a B h   -set. This completes the proof.
Let M = M ( X , )   be a matroid. For every positive integer k   , let ( k )   be the set of all unions of k   independent subsets of X   , that is, all sets of the form I 1 I 2 I k ,   where I 1 , I 2 , , I k .   Then M ( k ) = M ( X , ( k ) )   is also a matroid on the set X   (Welsh [7,Section8.3). We denote the rank of the matroid M ( k )   by ρ k .   Then ρ k   is the cardinality of the largest subset of X   that can be written as the union of k   independent sets in X   .
The covering number of a set S   contained in X   is the smallest integer k   such that S   can be written as the union of k   independent subsets of X   . If { x }   for every x X ,   then the covering number exists, and the covering number of S   is at most | S | .   The set S   has covering number k   if and only if k   is the smallest integer such that S   is an independent set in the matroid M ( k )   . The set X   has covering number k   if and only if ρ 1 < ρ 2 < < ρ k = | X | .   Let X   be a B 2 h 1 , h 1   -set contained in an abelian group. For every subset S   of X   , we define the B h   -covering number of S   as the smallest integer k   such that S = A 1 A k ,   where A 1 , , A k   are B h   -sets. Since { x }   is a B h   -set for all x X ,   it follows that every subset of X   has a finite B h   -covering number.
Theorem 5. Let X   be a B 2 h 1 , h 1   -set contained in an abelian group, and let   be the B h   -covering number of X   . For every positive integer k   there is a number n X ( k )   such that if S   is a maximal subset of X   whose B h   -covering number is k   , then | S | = n X ( k ) .  
  • Proof. By Theorem  4 , M = M ( X , )   is a matroid, where   is the set of B h   -subsets of X   . Let n X ( k )   denote the cardinality of the bases in the matroid M ( k ) .   The maximal subsets of X   with B h   -covering number k   are precisely the bases in the matroid M ( k ) .   This completes the proof.
Let I 1 , I 2 , , I k   be independent sets in a matroid M = M ( X , )   . We define I 1 = I 1   and I j = I j \ ( I 1 I j 1 )   for j = 2 , , k .   Since every subset of an independent set is independent, it follows that the sets I 1 , I 2 , , I k   are pairwise disjoint independent sets in M   , and I 1 I 2 I k = I 1 I 2 I k   . Therefore, every independent set in the matroid M ( k )   can be written as the union of k   pairwise disjoint independent sets in M   . In particular, if X   has covering number k ,   then X   is the union of k   pairwise disjoint nonempty independent subsets of X   .
Let μ = ( μ 1 , , μ r )   be a partition of | X | ,   that is, μ 1 , μ 2 , , μ r   are positive integers such that μ 1 + μ 2 + + μ r = | X |   and μ 1 μ 2 μ r .   A μ   -covering of the matroid M = M ( X , )   consists of r   pairwise disjoint independent sets I 1 , I 2 , , I r   such that X = I 1 I 2 I r   and | I j | = μ j for j = 1 , 2 , , r .   Let k   be the covering number of the matroid M   . Dias da Silva [1proved that there exists a μ   -covering of X   if and only if k r   and ρ j μ 1 + + μ j   for j = 1 , , k .  
Theorem 6. Let X   be a B 2 h 1 , h 1   -set contained in an abelian group, and let k   be the B h   -covering number of X   . For j = 1 , , k ,   let ρ j   denote the maximum cardinality of a union of j   B h   -subsets of X   . Let μ = ( μ 1 , , μ r )   be any partition of | X | .   There exist pairwise disjoint B h   -sets I 1 , , I r   such that X = I 1 I r   and | I j | = μ j   for j = 1 , , r   if and only if r k   and ρ j μ 1 + + μ j   for j = 1 , , k .  
  • Proof. This follows immediately from the fact that the B h   -sets are the independent sets of a matroid on X   .
References

  1. J. A. Dias da Silva, On the μ   colorings of a matroid, Linear and Multilinear Algebra 27 (1990), 25–32.
  2. J. A. Dias da Silva and M. B. Nathanson, Construction of generalized Sidon sets of order ( 2 h 1 , h 1 )   , in preparation.
  3. P. Erdős and P. Turán, On a problem of Sidon in additive number theory, and on some related problems, J. London Math. Soc. 16 (1941), 212–215.
  4. G. Martin and K. O'Bryant, Constructions of generalized Sidon sets, arxiv: math.NT/0408081, 2004.
  5. K. O'Bryant, A complete annotated bibliography of work related to Sidon sequences, Electronic J. Combinatorics (2004), Dynamic Surveys DS 11.
  6. I. Z. Ruzsa, A small maximal Sidon set, Ramanujan J. 2 (1998), 55–58.
  7. D. J. A. Welsh, Matroid theory, Academic Press, London, 1976.

Departamento de Matematica, Faculdade de Ciencias, Universidade de Lisboa, Campo Grande, Bloco C6, 1749-016 Lisboa, Portugal E-mail address : perdigao@hermite.cii.fc.ul.pt Department of Mathematics, Lehman College (CUNY), Bronx, New York 10468, USA E-mail address : melvyn.nathanson@lehman.cuny.edu