Characterization of complementing pairs of
Abstract.
Let be subsets of an abelian group . A pair is called a -pair if and is the direct sum of and . The -pairs are characterized by de Bruijn in 1950 and the -pairs are characterized by Niven in 1971. In this paper, we characterize the -pairs for all . We show that every -pair is characterized by a weighted tree if it is primitive, that is, it is not a Cartesian product of a -pair and a -pair of lower dimensions.
Key words and phrases: complementing pair, power series, weighted tree.
1. Introduction
Let be the set of integers. Let . We define We call the direct sum of and and denoted by , if every element has a unique decomposition as with . We say is a complementing pair of , or a -pair, if and .
We are interested in -pairs and -pairs, where we denote for simplicity. Furthermore, a -pair is called a -tiling if , where denotes the cardinality of ; in this case, we call a -tile. Similarly, we define -tiling and -tile.
The characterization of -pairs is an important problem in additive number theory. This problem is first considered by de Bruijn [2] in 1950. In 1974, Swenson [13] showed that this problem is an NP-hard problem. There are very few results on this problem.
To determine when a finite set is a -tile is somehow easier. This was done by Newman [9] when is a power of a prime number, see also Tijdeman [15]. Coven and Meyerowitz [1] solved the problem when contains at most two prime factors, see also Sands [11]. If contains more than two prime factors, the problem is still widely open [14, 1]. There are almost no results on -pairs with , except that Szegedy [12] characterized the -tile in case that is a prime number or .
The characterization of -pairs is much easier and it was settled by de Bruijn [3], and was rediscovered by Vaidya [16]. Let be a sequence of integers with . Any can be written uniquely in the form
(1.1) |
where for each and . We denote the right hand side of (1.1) by .
Proposition 1.1.
(de Bruijn [3], Vaidya [16]) (i) A pair is an -pair with if and only if there exists a sequence of integers with such that
(1.2) |
or the other round.
(ii) is an -tile if and only if there exist and with such that
Remark 1.2.
After a partial result was obtained by Hansen [5], Niven [10] characterized the -pairs (See Example 1.1 in the end of this section).
The goal of the present paper is to characterize the -pairs for all . For simplicity, we call an -pair if is an -pair for some .
It is easy to show that if is an -pair and is an -pair, then is an -pair, and we call the Cartesian product of the two pairs. (See Lemma 2.1.)
An -pair is called primitive, if it is not a Cartesian product of two -pairs with lower dimensions. All -pairs are primitive. Clearly, to characterize -pairs, we only need understand primitive -pairs.
In literature, polynomials have been used to study direct sum decomposition of abelian groups ([6, 11, 1]) or finite sets ([8]). The first idea in this paper is to use power series to handle -pairs. A power series with finite many variables is called a binary power series if its coefficients belong to . Let be an -tuple variable. For , we denote . For , we define
(1.3) |
For example and . Clearly, is a -pair if and only if
We call an interval pair if it is a -pair for some integer , and we call the size of the pair .
Remark 1.3.
Nathanson [8] proved that if is a higher dimensional interval pair, then is a cartesian product of one-dimensional interval pairs.
1.1. Extension process
Now, we introduce two ways to produce -pairs from a known -pair . Let . Denote , where and
(1) Extension of the first type. Let and be a -pair. Set
(1.4) |
Then is an -pair, and we call it a first type extension of . (See Lemma 3.1.)
(2) Extension of the second type. Let , , and . Set
Denote , and define as we did in (1.3). (For example, if , then .) Set
(1.5) |
Then is an -pair, and we call it a second type extension of . (See Lemma 3.2.)
Let be a sequence of -pairs. If is a first type or second type extension of for , then we say is a finite extension of .
An extension of an -pair is called an illegal extension, if it is a second type extension in (1.5) satisfying and , or and . An extension changes the primitivity if and only if it is illegal (Theorem 3.1). Our first main result is the following.
Theorem 1.1.
An -pair is primitive if and only if it is a finite extension of an -pair, and the extension process contains no illegal extension.
1.2. Weighted tree of an -pair.
For a primitive -pair, we introduce a weighted tree to record the information of the extension process in Theorem 1.1. Indeed, a weighted tree provides a visualization of the structure of the associated -pair.
Let be a finite tree with a root , where is the node set and is the edge set. A node is called a top if it has no offspring. Let denote the set of tops of . In Section 9, we define a weight of to be a quadruple
(1.6) |
where is an -pair and we call it the initial pair. We associate an -pair to a weighted tree, and we call it the -pair generated by the weighted tree. We show that
Theorem 1.2.
An -pair is a primitive -pair if and only if is generated by a weighted tree with tops.
Remark 1.4.
We show that is an -tiling if and only if in the associated weighted tree, the initial pair is an -tiling with and the map is constantly zero, or the other round (see Remark 9.2). It is folklore that an -tile is also a -tile, so our construction may shed some light to the study of -tiles with , an area is almost untouched.
In Theorem 9.1 we give an explicit formula for -pairs generated by weighted trees. (In two dimensional case, the formula is given by (1.7).) Actually, for each , we define two sets , and we show that and , which give further factorizations of and .
Example 1.1.
Niven’s characterization of the -pairs is the case of Theorem 1.1. In the following we describe an extension process to generate primitive -pairs.
Let be a non-trivial -pair, , , and let and be two interval pairs with size and , respectively. Moreover, if and if .
The paper is organized as follows. In Section 2, we prove several simple lemmas. Section 3 is devoted to extensions of -pairs. Section 4–Section 8 investigate the reductions of primitive -pairs; Theorem 1.1 is proved in Section 8. In section 9 , we introduce weighted trees. Theorem 1.2 is proved in Section 10.
2. Uniqueness and primitivity
We denote ; if the dimension is implicit, then we just write . Let be the lexicographical order on .
Lemma 2.1.
(i) (Uniqueness) If and are two -pairs, then .
(ii) If and where is an -pair and is an -pair, then is an -pair.
Proof.
(i) Let us list as by the following rule: for , we list before if ; if , we list before if . We list as by the same rule.
Clearly . Since , the minimum elements (according to the above rule) of and coincide, so . Continue this procedure, we obtain .
(ii) Denote , . We have which proves the second assertion. ∎
Actually is non-primitive if one of and is a Cartesian product.
Lemma 2.2.
If is an -pair such that , then can be written as .
Proof.
We close this section with several results about -pairs which will be needed later.
Lemma 2.3.
Lemma 2.4.
We denote if and . The following lemma is a easy consequence of Proposition 1.1. We leave the simple proof to the reader.
Lemma 2.5.
Let be an -pair. If , then there exists a sequence of interval pairs such that and , and
for some , where is the size of . If , then there exist an integer and such that and
3. Extensions of -pairs
In this section, we prove that a finite extension of an -pair is a primitive -pair.
Let with , recall that Take , and let be the largest integer such that , then . Hence
(3.1) |
Especially, Denote and .
Lemma 3.1.
The pair defined in (1.4) is an -pair.
Proof.
Lemma 3.2.
The pair defined in (1.5) is an -pair.
Proof.
In the rest of this section, we investigate the primitivity property. We say a binary power series with is variable separable, if there exist an integer , a permutation on , and two sets , such that
(3.2) |
The following lemma is a direct consequence of Lemma 2.2.
Lemma 3.3.
An -pair with is primitive if and only if is not variable separable.
By convention, for , we say is variable separable if and only if .
Lemma 3.4.
Let . The following three statements are equivalent to each other:
(i) is variable separable.
(ii) is variable separable.
(iii) is variable separable for some .
Proof.
(i) implies (ii) and (i) implies (iii) are trivial. In the following, we prove the other direction implications.
(ii)(i). Let us first consider that case . If is variable separable, then . Set , we obtain . Since both and are binary, we obtain that . Similarly, we have . Hence , which means and is variable separable.
Now we assume . Suppose is variable separable, then there is a permutation on , and two binary power serieses and such that either
Set , , we obtain a variable separable factorization of .
(iii)(i). If , the implication is trivial. Now we assume that . Suppose is variable separable, then we have
(3.3) |
where . Since the power of of any term in must be a multiple of , we infer that there exists such that
(3.4) |
Substituting (3.4) into (3.3), and then replacing by , we obtain a variable separable factorization of . ∎
Theorem 3.1.
Let be an extension of . If the extension is not illegal, then is primitive if and only if is primitive.
Proof.
(i) Let be a first type extension of satisfying . If , then both and are primitive. Now we assume . By Lemma 3.4, we have
The theorem holds in this case.
(ii) Let be a second type extension of with parameters and . Let us assume , then where . Similar as above, is non-primitive is equivalent to is variable separable. If , it is equivalent to is non-primitive; if , it is equivalent to , which means the extension is illegal. The theorem is proved. ∎
4. -pairs of pure type
Let be the canonical basis of . Let , set
(4.1) |
to be the union of -faces of . An -pair with is said to be of pure type, if either or . In this section, we characterize -pairs of pure type.
Let , . We say if , and if .
Lemma 4.1.
If is an -pair such that , then induces a linear order on . We call the germ of , where is the minimum of with respect to .
Proof.
Denote , and .
Let . Since and do not overlap. If neither nor , then and . It follows that , a contradiction. ∎
Lemma 4.2.
Let be an -pair with , and let be the germ of . Then
(i) ;
(ii) for every integer , contains at most one element.
Proof.
(i) is obvious. Now we prove (ii). Suppose on the contrary . We assume that (Lemma 4.1). Then since . So and are two different -decompositions of , which is a contradiction. ∎
The following result is an extension of Lemma 2.3 (the case ) and Niven [10, Lemma 5] ( the case ) to higher dimensions.
Theorem 4.1.
Let , let be an -pair of pure type with , and let be the germ of . Then there exists an -pair such that
Proof.
For , denote , and we call it the -th section of . For every integer , we claim that
By Lemma 4.2, and , so the claim holds for . Suppose the claim is false and let be the smallest integer such that (i) or (ii) fails.
First, by the minimality of , we have
where . Secondly, we assert that
Suppose , then , , are the -decomposition of elements in , and this forces that (i) and (ii) hold for , a contradiction. By the same reason, we have that .
Let and . Then contains at most one element. The set is covered by
Eliminating the elements apparently outside of , we have that is covered by . Since , we finally obtain
(4.2) |
which implies that both and are not empty.
Let us denote . Since , there exists such that , so by (4.2). Since and ,
provides two -decompositions of a same point. This contradiction proves our claim.
Our claim implies that and for some . From we deduce that is an -pair. The theorem is proved. ∎
5. A key Lemma
In this section we prove a crucial lemma which will be used in Section 6.
Let and write .
Lemma 5.1.
Let be a point in . Let with and , and denote , Let . If are two subsets of such that
(5.1) |
then and for some .
Proof.
The assumption (5.1) implies that
Denote where is an increasing sequence in . We denote and call it the -th section of . We claim that:
Claim 1. For all , or .
We prove the claim by induction. Clearly the claim holds for . Let and assume that or holds for . Then
(5.2) |
where . Hence, for ,
(5.3) |
Consequently, for , as the complement of the right hand side of (5.3),
(5.4) |
Let be the smallest element in such that . By (5.3) and (5.4),
(5.5) |
Suppose that Claim 1 is false for . Denote . We assert that
(5.6) |
Notice that
The second term on the right hand side is , so the first term must be the empty set, which implies (5.6).
By (5.6) and (5.4), we have that , so there exists such that . The intersection is not implies that , so we have since . Since contains at most one element, we conclude that .
Let be the index in such that . Then is not covered by , and hence it is not covered by . It follows that . Therefore, on one hand, we have
on the other hand, This is a contradiction, and Claim 1 is proved. Therefore, (5.2) and (5.5) holds for all , which imply that , for some . The lemma is proved. ∎
6. Marginal pairs of -pairs
Let be a subsequence of . We call an -face of . Define as We denote
(6.1) |
and call the marginal pair induced by .
Lemma 6.1.
Let be an -pair and be an -face of . Then is a -pair. Consequently, the marginal pair is an -pair.
Proof.
In , setting if , we obtain , which implies that . The second assertion is obvious. ∎
If is an -pair with and , we call the germ of .
Theorem 6.1.
Let be an -pair and with . If the marginal pair is of pure type in case of , then there exists an -pair such that
(6.2) |
where is the germ of .
We note that (6.2) is a second type extension if , and is of first type if . Moreover, if , then Theorem 6.1 becomes Theorem 4.1 or Lemma 2.3.
Proof.
By Theorem 4.1 or Lemma 2.3, there exists an -pair with such that
(6.3) |
(Remember that in case of , .) Let . Define
Denote , then
(6.4) |
We claim that for all , it holds that
(6.5) |
Clearly On the other hand, by (6.4),
Comparing the terms in the above two equations with the factor , we obtain (6.5).
Denote . We shall prove by induction that
(6.6) |
for some .
7. -face reduction of -pair
Let be a primitive -pair. We say is of class , if
In this section we show that any primitive -pair is a finite extension of a pair of class .
Denote . Set and in Theorem 6.1, we obtain
Lemma 7.1.
Let be an -pair. If and , then there exists an -pair such that
Using the above lemma repeatedly, we get ‘bigger’ factors of and .
Proposition 7.2.
Let be an -pair. Denote . Let be a -pair such that
for an -pair . Then there exists an -pair such that
(7.1) |
Proof.
We prove the result by induction on . If , the proposition holds trivially. Assume and that the proposition holds for any pair and any positive integer less than .
Assume without loss of generality.
The following theorem is proved by Niven ([10, Lemma 4]) in the two dimensional case.
Theorem 7.1.
If be a primitive -pair with , then either or is finite.
Proof.
Let . Recall that , Write , Then and (Lemma 6.1). Define
Let be a -pair satisfying the assumptions of Proposition 7.2. Then there exists such that
(7.4) |
Setting , we obtain , which implies that So , and by (7.4), we have
(7.5) |
Suppose on the contrary that both and are infinite sets. By Lemma 2.5, there exists a sequence of interval pairs such that and and satisfies the assumptions of Proposition 7.2. This together with (7.5) imply that . Similarly, we have .
Since is an -pair (Lemma 2.1), the above two inclusion relations imply that and which imply is not primitive. This contradiction proves the theorem. ∎
Theorem 7.2.
Let be a primitive -pair. Then there exists a primitive -pair in such that is a finite (first type) extension of .
Proof.
We first reduce along the variable . Denote Then either or is finite (Theorem 7.1). Assume is finite. By Lemma 2.5, there exist such that and . Hence, by Proposition 7.2, there exists an -pair such that
(7.6) |
We claim that: ; for .
From we infer that , which together with (7.6) imply that . So (i) holds. Pick , by (7.6), we have which means that . This proves (ii).
Next, we reduce along the variables one by one, and finally we obtain an -pair of class . The theorem is proved. ∎
8. Proof of Theorem 1.1
The following lemma provides the last ingredient for proving Theorem 1.1.
Lemma 8.1.
Let and be a primitive -pair of class . Then there exists an -face with such that the marginal pair induced by is of pure type.
Proof.
Without loss of generality, we assume that holds for at least one . By rearranging the order of variables, we may assume that
where . Denote and . (If , we set .) Then is a -pair and is a -pair.
We claim that either or . Suppose on the contrary that and . Then which implies that and It follows that and it is not primitive, which contradicts our assumption.
Without loss of generality, let us assume that . Let be a term of such that the number of non-zero entries of attains the minimum. Write as
Then since for . Let , which is the smallest face containing . Let be the marginal pair induced by , then is an -pair of pure type by the minimality of . The lemma is proved. ∎
Proof of Theorem 1.1..
By Theorem 3.1, we only need show that any primitive -pair is a finite extension of an -pair. Let be a primitive -pair. We prove by induction on the dimension of . If , the theorem is trivially true.
Assume . By Theorem 7.2, there exists a primitive -pair of class such that is a finite extension of it. By Lemma 8.1, has an -face with such that the marginal pair induced by is of pure type. So by Theorem 6.1, there exists a primitive -pair such that is a second type extension of . Finally, by induction hypothesis, is a finite extension of an -pair, say . Then indicates the extension process from to . ∎
9. Weighted tree of -pair
In this section, we study weighted trees and the associated -pairs.
9.1. Weighted tree
A graph with node set and edge set is a tree if it is connected and has no cycle. A rooted tree is a triple where is a tree and ; we call the root of the tree.
Let be a finite tree with root . The level of , denoted by , is the length of the (unique) path joining and . A node is called an offspring of , if there is an edge joining and , and ; meanwhile we call the parent of . For , we use to denote the edge joining and its offspring . We call an ancestor of if there is a path joining and , and . A node is called a top if it has no offspring. We denote by the set of tops. We shall use the nodes as variables of power series.
Definition 9.1.
We call the quadruple
(9.1) |
a weight of the tree , where is an -pair, called the initial pair,
are three maps, and in addition, if and if .
We call the norm of the tree. Two tops are said to be equivalent, if they share the same parents. An equivalent class of is called a branch of .
9.2. Constructing -pairs from weighted trees
Now we define the pair generated by a weighted tree inductively on the norm of the tree.
Notice that is the only tree with norm . The weight of only consists of the initial pair, which we denote by . We define the -pair associate with the weighted tree to be .
Let . Suppose for any weighted tree with norm less than , we have associated an -pair with it, where is the number of tops of the tree.
Let be a weighted tree with norm . Let . Choose a branch of and denote their parents by . Let be the subtree of obtained by deleting the nodes and the edges . Then
(9.2) |
We define the weight of to be the restriction of the weight on it. (Now is a top of the subtree, so is not needed in the restricted weight.)
Since , by the induction hypothesis, there is an -pair associated with the weighted tree of .
Denote . For , let , , and let be the size of . Denote and .
First, applying an second type extension with parameters and to , we obtain
Secondly, applying extensions of the first type consecutively to the pair , along the variables , we obtain
(9.3) |
We call the -pair generated by the weighted tree (9.1).
To show the generated pair is well-defined, we need to show that is independent of the choice of the branch . We will do this in Theorem 9.1.
Remark 9.2.
Clearly, if and only if and is constantly ; a similar result holds for . Also, is of class if and only if for all tops.
9.3. A closed formula of
Let be the pair defined by (9.3). We define a map as follows. Pick and .
If is an ancestor of , let be the path from to ; for let and be the size of . We define
(9.4) |
Moreover, we define
For each , we define two power series and as follows. Denote .
If is a top, we set
(9.5) |
(If , we make the convention and .)
If is not a top, let be the offsprings of . Denote and be the size of . (If , we set and .) We define
(9.6) |
Theorem 9.1.
Proof.
Denote . We prove the result by induction on . If , then , and (9.7) holds by our convention. Now we assume that .
Let be the subtree of given by (9.2), and the weight is the restricted weight. According to this restricted weight, for any and , we can define a map as (9.4), and power series as (9.5) and (9.6).
Let be the pair generated by the weighted tree . Denote . By induction hypothesis, we have
(9.8) |
For , denote , and let be the size of . We assert that
(9.9) |
Notice that (9.9) holds if the following holds:
(9.10) |
If is an ancestor of or , we have if is not an ancestor of , we have So the first assertion of (9.10) holds. The second assertion holds since the path from to in is also a path in . This proves (9.10) and (9.9) follows.
Now, we consider the relations between and for .
If , since is a top of , we have ; moreover, and , . Denote , we have
(9.11) |
We claim that
(9.12) |
If , we have , clearly (9.12) holds.
10. Proof of Theorem 1.2 and an example
Proof of Theorem 1.2.
Thanks to Theorem 3.1, we only need show that any primitive -pair can be generated by a weighted tree. If is an -pair, then it is generated by the tree with initial pair .
Suppose is generated by a tree with weight . In the following, we show that any one step extension of it can also be generated by a weighted tree. Denote the tops of by , and assume the extension is along the variable . Denote .
Case 1. Suppose is a first type extension of given by
where is a -pair. Denote We define a new weight of by only modifying to the interval pair . Then is generated by the tree with this new weight.
Case 2. Suppose is a second type extension of given by
where , and . We set , and let be the edge set. We define a weight of , which is the extension of the original weight by adding the following parameters: Set ; For , set and . Then is generated by with the above weight. ∎

The function and :
node
2
3
1
1
1
{0}
{0}
{0}
{0}
{0}
{0}
4
4
1
1
1
References
- [1] E. M. Coven and A. Meyercovitz, Tiling the integers with translates of one finite set, J. Algebra, 212 (1999), 161–174.
- [2] N. G. de Bruijn, On bases for the set of integers, Publ. Math., 1(3)(1956), 583–590.
- [3] N. G. de Bruijn, On number systems, Nieuw Arch. Wisk., 4(3)(1956), 15–17.
- [4] S. Eigen and A. Hajian, Sequences of integers and ergodic transformations, Adv. Math., 73 (1989), 256–262.
- [5] R. T. Hansen, Complementing pairs of subsets in the plane, Duke Math. J. 36(1969), 441–449.
- [6] G. Hajós, Sur la factorisation des groupes abélians, C̃asopis Pẽst. math. Fys. (3) 4 (1950), 157–162.
- [7] C. T. Long, Addition theorems for sets of integers, Pacific J. Math. 23(1967), 107–112.
- [8] M. B. Nathanson, Complementing sets of -tuples of integers. Proc. Amer. Math. Soc. 34 (1972), 71-72.
- [9] D. J. Newman, Tesselation of integers. J. Number Theory 9 (1977), 107-111.
- [10] I. Niven, A characterization of complementing sets of pairs of integers. Duke Math. J. 38 (1971), 193–203.
- [11] A. D. Sands, On Keller’s conjecture for certain cyclic groups, Proc. Edinburg Math. Soc. (1), 22 (1979), 17–21.
- [12] Szegedy, M. Algorithms to tile the infinite grid with finite clusters. Proceedings of the 39th Annual Symposium on the Foundations of Computer Science, FOCS 98. November8 C111998, Palo Alto, CA. pp.137 C145. IEEE Computer Society.
- [13] C. Swenson, Direct sum subset decompositions of . Pacific J. Math. 53 (1974), 629–633.
- [14] S. Szabó, A type of factorization of finite Abelian groups, Discrete Math. 54(1985), 121–124.
- [15] R. Tijdeman, Decomposition of the integer as a direc sum of two subsets, in ”Number Theory(Paris, 1992-1993),” London Math. Soc. Lecture Note Ser.,Vol.215, 261–276. Cambridge Univ. Press, 1995.
- [16] A. M. Vaidya, On complementing sets of nonnegative integers, Math. Mag. 39(1966), 43–44.