Next Article in Journal
Algorithmic Matching Attacks on Optimally Suppressed Tabular Data
Next Article in Special Issue
Cyclotomic Trace Codes
Previous Article in Journal
Idea of Using Blockchain Technique for Choosing the Best Configuration of Weights in Neural Networks
Previous Article in Special Issue
γ-Graphs of Trees
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Equisum Partitions of Sets of Positive Integers †

by
Roger B. Eggleton
School of Mathematical and Physical Sciences, University of Newcastle, Newcastle 2308, Australia
Dedicated to Richard Guy, for his 103rd Birthday, one of many primes of his life.
Algorithms 2019, 12(8), 164; https://doi.org/10.3390/a12080164
Submission received: 12 July 2019 / Revised: 5 August 2019 / Accepted: 7 August 2019 / Published: 11 August 2019

Abstract

:
Let V be a finite set of positive integers with sum equal to a multiple of the integer b . When does V have a partition into b parts so that all parts have equal sums? We develop algorithmic constructions which yield positive, albeit incomplete, answers for the following classes of set V , where n is a given positive integer: (1) an initial interval { a + : a n } ; (2) an initial interval of primes { p : p n } , where is the set of primes; (3) a divisor set { d + : d | n } ; (4) an aliquot set { d + : d | n ,   d < n } . Open general questions and conjectures are included for each of these classes.

1. Introduction

The questions to be addressed here belong to additive number theory. The scope of this field has grown in recent times. We shall consider the possibility of partitioning certain sets of integers into two or more subsets with equal sums. Although this is a very basic question, it appears not to have been previously discussed. A brief survey will show how it fits within the field.
In their classical introduction to number theory, Hardy and Wright [1] devoted three chapters to additive number theory. The first of these chapters, entitled Partitions, begins by describing what was then regarded as the general problem of additive number theory, the study of additive representations of positive integers. To paraphrase: Let V be a given subset of the positive integers + , such as + itself, or the squares { a 2 :   a + } , or the primes . Let r ( n ) be the number of representations of an arbitrary positive integer n as a sum, each term of which is an element in V , subject to a variety of possible restrictions: the number of terms in the sum may be fixed or bounded or unbounded; the sum may be permitted to include equal terms, or this may be ruled out; the order of the terms in the sum may be considered relevant or not. The problem then is to determine r ( n ) or at least to establish some of its properties.
For example, the study of unrestricted partitions of positive integers considers r ( n ) when the set V of possible summands is + , the number of possible terms is unbounded, equal terms are permitted, and order is irrelevant. (Equivalently, in this case, r ( n ) counts the number of multisets of positive integers with sum n . ) This view of additive number theory is endorsed by Nathanson in a more recent work focussing on representations as sums of k th powers ( k 2 ) or the primes [2].
Various studies which do not focus on additive representations of integers, but nevertheless rightfully belong to additive number theory, have appeared in modern times. Many studies consider set partitions rather than integer partitions. Here, the general problem considers partitions of a given subset V of + into a fixed or bounded number of disjoint subsets, and seeks conditions in which at least one of those subsets must inevitably exhibit a certain property, or else conditions ensuring the existence of a partition in which none of the subsets has a certain property.
For instance, van der Waerden’s classical theorem [3] effectively states that for given positive integers b and k , if V is the set [ 1 ,   n ] : = { a + : a n } comprising all positive integers up to n , and if n is sufficiently large, then every partition of V into b subsets inevitably includes a subset containing an arithmetic progression of at least k terms. A 2004 major break-through theorem by Green and Tao [4] implies that this result holds if V is the set { p : p n } comprising all primes up to n .
In his survey of unsolved problems in number theory, Guy [5] devotes a chapter to additive number theory, covering a wide range of problems, many of which do not readily fit the general types described above. They include studies seeking a maximal subset V of [ 1 ,   n ] with a specified property, such as all subsets of V having distinct sums, or all 2 –subsets having distinct sums, or no subset summing to a positive multiple of a prescribed integer m . Related studies consider subsets of [ 1 ,   n ] which are determined by the sums of their subsets of fixed size.
Against this background, let us now consider partitions of a finite set V + with the property that the participating subsets all have the same sum.
The notation and terminology are as follows. Given a finite set of positive integers V + , of cardinality | V | : = v , let
: = { B i | 1 i b }
be a partition of V into b nonempty subsets, called blocks, with 1 b v . Thus,
V = 1 i b B i   ,    B i B j =   i j .
For brevity, call a b partition of V , and call b the order of the partition. The partition is proper when 2 b < v , and trivial when b = 1 or b = v .
We consider the case when V has sum Σ V : = Σ { x : x V } which is a multiple of b , say Σ V : = b s ,     s + . A b –partition of V is equisum, with block sum s , if each of its blocks has sum s :
Σ B i : = Σ { x : x B i } = s ,     1 i b .
When does V have a proper equisum partition? Clearly, v 3 and 2 b v / 2 are necessary conditions, and these conditions are sharp. In the following sections, constructive algorithms will be used to show:
  • If b , n + ,   2 b n / 2 and b 12 or b is any prime-power p a , the initial interval of integers [ 1 ,   n ] has an equisum b –partition if and only if Σ [ 1 ,   n ] is a multiple of b .
  • No product of two odd prime-powers has an equisum 2 –partition of its positive divisors; however, for any prime p 3 and a ,   m + with m odd, the set of all positive divisors of 2 a p m has an equisum 2 –partition when 2 a + 1 σ ( p m ) . Even perfect numbers are the “boundary case” of this result.
  • If the set of aliquot divisors of n + has an equisum 2 –partition then n has at least two distinct prime factors. For any prime p 3 and a ,   m + with m odd, the set of aliquot divisors of 2 a p m has an equisum 2 –partition if 2 a + 1 σ ( p m ) . Again, even perfect numbers are the “boundary case” of this result.
  • If n + is odd, its set of aliquot divisors can have an equisum 2 –partition only when n is a perfect square. Further, if n has exactly two distinct prime factors p ,   q , they must either be twin primes or 3 and 7. The aliquot divisors always have an equisum 2 –partition when { p ,   q } = { 3 ,   5 } ; this probably also holds when { p ,   q } = { 3 ,   7 } . However, there may be only finitely many pairs { p ,   q } such that the aliquot divisors of n have such a partition.
Some suggestive results are also obtained for initial intervals of the primes. For b { 2 ,   3 ,   4 ,   5 ,   6 } , it is shown that the smallest feasible initial interval of primes with sum equal to a multiple of b does have an equisum b –partition. For b = 2 , every odd-sized initial interval of primes p 127 does have an equisum 2 –partition, and it is conjectured that this holds for every odd-sized initial interval of primes.

2. Initial Intervals of +

The most natural class of set V to consider for equisum partition is an initial interval of integers
[ 1 ,   n ] : = { a + : a n } .
If : = { B i | 1 i b } is a b –partition of V : =   [ 1 ,   n ] , its range of block sizes | B i | : = k i ,   1 i b is of interest. The defect of is the smallest integer δ such that
| k i k j | δ   i j .
If has defect δ = 0 it is a uniform partition of V , with block size k : = n / b . It is natural to seek equisum partitions with minimum defect.
Two examples serve to give insight into equisum partitions of [ 1 ,   n ] .
Example 1.
If V = [ 1 ,   14 ] then Σ V = 105 , so any proper equisum partition of V must have order b { 3 ,   5 ,   7 } . Since b = 7 is the only possible order that is a factor of 14, it is the only case where defect δ = 0 is possible. An equisum b partition does exist in each case:
b = 7 ,   s = 15 :   { 1 ,   14 } , { 2 ,   13 } , { 3 ,   12 } , { 4 ,   11 } , { 5 ,   10 } , { 6 ,   9 } , { 7 ,   8 } ; b = 5 ,   s = 21 :   { 7 ,   14 } , { 1 ,   8 ,   12 } , { 2 ,   9 ,   10 } , { 3 ,   5 ,   13 } , { 4 ,   6 ,   11 } ; b = 3 ,   s = 35 :   { 4 ,   8 ,   10 ,   13 } , { 1 ,   5 ,   6 ,   9 ,   14 } , { 2 ,   3 ,   7 ,   11 ,   12 } .
The first partition is uniform, the other two have defect δ = 1 .
Example 2.
If V = [ 1 ,   15 ] then Σ V = 120 , so any proper equisum partition of V has order b { 2 ,   3 ,   4 ,   5 ,   6 ,   8 } . An equisum b partition exists in each case. For instance,
b = 8 ,   s = 15 :   { 15 } , { 1 ,   14 } , { 2 ,   13 } , { 3 ,   12 } , { 4 ,   11 } , { 5 ,   10 } , { 6 ,   9 } , { 7 ,   8 } .
By taking unions of consecutive pairs of blocks, then repeating, equisum partitions of orders 4 and 2 are immediately produced. All three have defect δ = 1 . This is best possible, since each has even order but n = 15 is odd.
Next, for the two possible orders which are divisors of 15 there are uniform equisum partitions:
b = 5 ,   s = 24 :   { 1 ,   8 ,   15 } , { 2 ,   9 ,   13 } , { 3 ,   10 ,   11 } , { 4 ,   6 ,   14 } ,   { 5 ,   7 ,   12 } ; b = 3 ,   s = 40 :   { 1 ,   5 ,   9 ,   11 ,   14 } , { 2 ,   6 ,   7 ,   10 ,   15 } ,   { 3 ,   4 ,   8 ,   12 ,   13 } .
Finally, for order 6 we have an equisum partition with defect δ = 1 :
b = 6 ,   s = 20 :   { 5 ,   15 } , { 6 ,   14 } , { 8 ,   12 } , { 1 ,   9 ,   10 } ,   { 2 ,   7 ,   11 } ,   { 3 ,   4 ,   13 } .
Notice that pairs of blocks of different sizes in this equisum 6–partition could be combined to give an alternative uniform equisum 3–partition.
We now introduce a construction which serves to generalise these examples. For any n + and X + , define X + n : = { x + n | x X } .
Direct Sum Construction: 
Let : = { B i | 1 i b } and : = { B i | 1 i b } be b –partitions of the sets V : = [ 1 ,   n ] and V : = [ 1 ,   n ] , respectively. The direct sum
: = : = { B i ( B i + n ) | 1 i b }
is a b –partition of the set V : = [ 1 ,   n + n ] .
The direct sum construction has several useful special cases. If and are uniform, then is uniform. If and are equisum, and is uniform, then is equisum.
Let us call : = { B i | 1 i b } a consecsum b –partition of V : = [ 1 ,   n ] if its block sums Σ B i : = s i ,   1 i b satisfy s i + 1 = s i + 1 for 1 i < b . We now note two more special cases of the direct sum construction. If is consecsum and is uniform equisum, then is consecsum. Finally, if and are both consecsum, and is uniform, then R is equisum when R , the reverse of , is defined by R : = { B i R : = B b i + 1 | 1 i b } .
Theorem 1.
Let b + ,   b 2 . If [ 1 ,   n ] has an equisum b partition with defect δ , then so does [ 1 ,   n ] , for any n + ,   n > n , such that n n   ( mod   2 b ) .
Proof. 
Let : = { E i | 1 i b } be the trivial uniform b –partition of [ 1 ,   b ] with E i : = { i } for 1 i b . Then is consecsum, so A : = R is a uniform equisum b –partition of [ 1 ,   2 b ] . Put A ( 1 ) : = A and A ( m + 1 ) : = A A ( m ) for all m + . Then A ( m ) is a uniform equisum b–partition of [ 1 ,   2 m b ] . Let : = { B i | 1 i b } be an equisum b –partition of [ 1 ,   n ] with defect δ . Then, A ( m ) is an equisum b –partition of [ 1 , n : =   n + 2 m b ] with defect δ . □
When [ 1 ,   n ] has a b –partition of the specified type, the proof of Theorem 1 is, in effect, an unconditional algorithm for constructing from such a b –partition for each suitable [ 1 ,   n ] . The back and forth (boustrophedon) construction producing A ( m ) can be described as knitting.
With the convention that E 1 1 : = , we define : = 1 to be a consecsum b –partition of [ 1 , b 1 ] with defect δ = 1 , admitting one empty block. The knitting step A : = R produces an equisum b –partition of [ 1 ,   2 b 1 ] with defect δ = 1 , so with ordinary knitting A ( m ) we have
Theorem 2.
For any b + ,   b 2 , and δ { 0 ,   1 } , the set [ 1 , n ] has an equisum b partition, with defect δ , for all n + ,   n + δ 0   ( mod   2 b ) .
A parallel construction, proceeding from consecsum to equisum, now establishes.
Lemma 1.
Let b + ,   b 2 . If [ 1 ,   n ] has a consecsum b partition with defect δ , then [ 1 ,   n ] has an equisum b partition with defect δ for any n + ,   n > n , such that n n + b   ( mod   2 b ) .
Proof. 
As in the previous proof, is a uniform consecsum b –partition of [ 1 ,   b ] , and A : = R is a uniform equisum b –partition of [ 1 ,   2 b ] . For all m + let C ( 1 ) : = , C ( m + 1 ) : = A ( m ) . Then, C ( m ) is a uniform consecsum b –partition of [ 1 ,   ( 2 m 1 ) b ] . Suppose that : = { B i | 1 i b } is a consecsum b –partition of [ 1 ,   n ] with defect δ . Then, R C ( m ) is an equisum b –partition of [ 1 ,   n + ( 2 m 1 ) b ] with defect δ . □
When [ 1 ,   n ] has a consecsum b –partition with defect δ , the proof of Lemma 1 is, in effect, an unconditional algorithm for constructing from an equisum b –partition with defect δ for each suitable [ 1 ,   n ] . Knitting is the key.
Let C ( 1 ) : = , C ( m + 1 ) : = A ( m ) , for all m + . As is a consecsum partition of [ 1 ,   b 1 ] with defect δ = 1 , so C ( m ) is a consecsum b –partition of [ 1 , ( 2 m 1 ) b 1 ] with defect δ = 1 . Hence
Theorem 3.
For any b + ,   b 2 , and δ { 0 ,   1 } , the set [ 1 ,   n ] has a consecsum b –partition, with defect δ , for all n + ,   n + δ b   ( m o d   2 b ) .
The next construction proceeds from equisum to consecsum.
Lemma 2.
For any odd b + ,   b 3 , if [ 1 ,   n ] has an equisum b partition with defect δ , then [ 1 ,   n + b ] and [ 1 ,   n + 2 b ] have consecsum b partitions with defect δ .
Proof. 
For any k + ,   k 2 , let b : = 2 k 1 . Let D : = { D i | 1 i 2 k 1 = b } be the b –partition of [ 1 ,   2 b ] with blocks
D i : = { i ,   3 k + i 2 } ,     1 i k ; D k + i : = { k + i ,   2 k + i 1 } ,   1 i k 1 .
Clearly Σ D i 3 k + 2 runs through even members of [ 1 ,   2 k ] as i runs through [ 1 ,   k ] , and Σ D k + i 3 k runs through odd members of [ 1 ,   2 k ] as i runs through [ 1 ,   k 1 ] . For each j + ,   3 k j 5 k 2 , there is an i + , 1 i 2 k 1 = b such that D i has block sum Σ D i = j . Thus there is a permutation π : [ 1 ,   b ] [ 1 ,   b ] such that
Σ D π ( i ) = 3 k + i 1 ,     1 i b ,
so D π : = { D π ( i ) | 1 i b } is a uniform consecsum b –partition of [ 1 ,   2 b ] . Let : = { B i | 1 i b } be an equisum b –partition of [ 1 ,   n ] with defect δ . Then, and D π are consecsum b –partitions of [ 1 ,   n + b ] and [ 1 ,   n + 2 b ] , respectively, both with defect δ . □
The construction in the proof of Lemma 2, together with a modified version in which D is replaced by D 1 throughout, yields
Lemma 3.
For any odd b + ,   b 3 ,   and δ { 0 ,   1 } , the set [ 1 ,   n ] has a consecsum b partition, with defect δ , for all + , n + δ 0   ( mod   b ) .
Forming direct sums with R now yields
Theorem 4.
For any odd b + ,   b 3 , and   δ { 0 ,   1 } , the set [ 1 ,   n ] has an equisum b partition, with defect δ , for all n + ,   n > b , such that n + δ 0   ( mod   b ) .
The interval [ 1 ,   n ] can have an equisum b –partition only if at most one block is a singleton, so b n / 2 . Together, Theorems 2 and 4 establish
Theorem 5.
For any b , n + ,   2 b n / 2 , and δ { 0 ,   1 } , the set [ 1 ,   n ] has an equisum partition of order b , with defect δ , if ( 1 ) n + δ 0   ( mod   2 b ) , or else if ( 2 )   n + δ 0   ( mod   b ) , and b is odd.
Let be the set of primes. As n and n + 1 are coprime, we have
Corollary 1.
For any a , n + ,   p , with n > p a , the set [ 1 ,   n ] has an equisum partition of order p a , with defect δ { 0 ,   1 } , if and only if 2 p a | n ( n + 1 ) .
For any proper divisor b of n or n + 1 , Theorem 5 settles when [ 1 ,   n ] has an equisum partition of order b . This leaves open the question of whether [ 1 ,   n ] has an equisum partition of order b : = a c when a 2 , c 2 are coprime positive integers such that a | n ,   c | n + 1 and 2 a c | n ( n + 1 ) .
Example 3.
For V = [ 1 ,   14 ] the following is a consecsum partition of order 10, with defect δ = 1 :
{ 1 ,   5 } , { 7 } , { 2 ,   6 } , { 9 } , { 10 } , { 3 ,   8 } , { 12 } , { 13 } , { 14 } , { 4 ,   11 } .
Its direct sum with the reversed trivial consecsum 10–partition of [ 1 ,   10 ] yields an equisum 10–partition of [ 1 ,   24 ] with defect δ = 1 :
b = 10 ,   s = 30 :   { 1 ,   5 ,   24 } , { 7 ,   23 } , { 2 ,   6 ,   22 } , { 9 ,   21 } , { 10 ,   20 } , { 3 ,   8 ,   19 } , { 12 ,   18 } , { 13 ,   17 } , { 14 ,   16 } , { 4 ,   11 ,   15 } .
Here n = 24 ,   a = 2 ,   c = 5 .
To generalise this example, it is notationally convenient to denote the set of triangular numbers by T : = { t k : = ( k 1 ) k / 2 : k + } . Note that t k + k = t k + 1 .
Lemma 4.
For k ,   m + ,   k 3 , let b : = t k . The set [ 1 , ( k 1 ) ( m k + 1 ) ] has an equisum b partition with defect δ = 1 .
Proof. 
For any k + ,   k 3 , let : = { F i | 1 i b : = t k } be the b –partition of I k + 1 : = [ 1 ,   t k + 1 1 ] = [ 1 ,   k 1 + b ] with blocks
F i : = { k + i } ,   1 < i < t k ,   i T ; F t j : = { j ,   k + t j } ,     1 j k 1 .
Since Σ F t j = k + t j + 1 for 1 j k 1 , it follows that { Σ F i | i I k } = [ k + 1 ,   t k + 1 ] , so is consecsum with defect δ = 1 . Let : = { E i : = { i } | i I k } , so : = R is a defect δ = 1 equisum b –partition of [ 1 ,   k 1 + 2 b ] = [ 1 ,   k 2 1 ] . Let A : = R and A ( 1 ) : = A ,   A ( m + 1 ) : = A ( m ) A for all m + . Then A ( m ) is a uniform b –partition of [ 1 ,   2 m b ] = [ 1 ,   m k ( k 1 ) ] . Hence [ 1 ,   ( k 1 ) ( m k + 1 ) ] has the defect δ = 1 equisum 𝑏–partition A ( m 1 ) , for any m 2 . □
Lemma 4 describes a family of sets [ 1 , n : = ( k 1 ) ( m k + 1 ) ] with an equisum partition of order b such that 2 b = ( k 1 ) k and k 1 | n ,   k | n + 1 . In particular, k = 4 leads to an order b = 6 equisum partition of [ 1 ,   3 + 12 m ] with defect δ = 1 , starting with the order 6 partition of [ 1 ,   15 ] given in Example 2. Similarly, k = 5 leads to an order b = 10 equisum partition of [ 1 ,   4 + 20 m ] with defect δ = 1 , starting with the order 10 partition of [ 1 ,   24 ] in Example 3.
Example 4.
Here is an order 6 consecsum partition for V = [ 1 ,   14 ] , with defect δ = 1 :
n = 14 ,   b = 6 :   { 2 ,   4 ,   9 } , { 3 ,   13 } , { 5 ,   12 } , { 1 ,   7 ,   10 } , { 8 ,   11 } , { 6 ,   14 }
and an order 10 consecsum partition for V = [ 1 ,   25 ] , with defect δ = 1 :
n = 25 ,   b = 10 :   { 4 ,   11 ,   13 } , { 1 ,   8 ,   20 } , { 2 ,   9 ,   19 } , { 6 ,   7 ,   18 } , { 15 ,   17 } , { 3 ,   5 ,   25 } ,   { 10 ,   24 } , { 12 ,   23 } , { 14 ,   22 } , { 16 ,   21 } .
Each of these partitions yields a defect δ = 1 equisum b –partition when we form its direct sum with the reversed trivial consecsum b –partition of [ 1 , b ] . With Lemma 1 it now follows for all m + that [ 1 ,   8 + 12 m ] has an equisum 6 –partition, and [ 1 ,   15 + 20 m ] has an equisum 10 –partition, with defect δ = 1 , in all instances.
As 12 is not a triangular number, we cannot use Lemma 4 for the case b = 12 , but the method used in Example 4 can be applied.
Example 5.
Here are defect δ = 1 order 12 consecsum partitions for the intervals V = [ 1 ,   20 ] and V = [ 1 ,   27 ] :
n = 20 ,   b = 12 :   { 12 } , { 13 } , { 14 } , { 5 ,   10 } , { 1 ,   15 } , { 8 ,   9 } , { 7 ,   11 } ,   { 19 } ,   { 2 ,   18 } ,   { 4 ,   17 } ,   { 6 ,   22 } ,   { 3 ,   20 } . n = 27 ,   b = 12 :   { 4 ,   22 } , { 11 ,   16 } , { 3 ,   25 } , { 10 ,   19 } , { 6 ,   24 } , { 1 ,   12 ,   18 } , { 9 ,   23 } ,   { 7 ,   26 } ,   { 14 ,   20 } ,   { 5 ,   13 ,   17 } ,   { 15 ,   21 } ,   { 2 ,   8 ,   27 } .
Equisum 12 –partitions with defect δ = 1 result by forming direct sums with the reversed trivial consecsum 12 –partition of [ 1 ,   12 ] . For all m + , Lemma 1 now shows that [ 1 ,   8 + 24 m ] and [ 1 ,   15 + 24 m ] have equisum 12 –partitions with defect δ = 1 .
For b { 6 ,   10 ,   12 } , these results demonstrate the existence of order b equisum partitions of [ 1 ,   n ] for all four residue classes of n   ( mod   2 b ) such that 2 b | n ( n + 1 ) .
Theorem 6.
For b { 6 ,   10 ,   12 } and n + ,   n 2 b 1 , the set [ 1 ,   n ] has an equisum partition of order b , with defect δ { 0 ,   1 } , if and only if 2 b | n ( n + 1 ) .
It appears likely that for all b ,   n + , if 2 b n / 2 and 2 b | n ( n + 1 ) , then [ 1 ,   n ] has an equisum partition of order b , with defect δ { 0 ,   1 } . However, a proof with this level of generality seems to be elusive.

3. Initial Intervals of

An apparently unlikely class of set V to consider for equisum partition is an initial interval of the primes ,
[ :   q ] : = { p : p q } .
Because appears to have an irregular fine structure, regularity in partitions of its initial intervals is unexpected. However, has a regular large scale structure, such as the asymptotic equidistribution of primes into the reside classes coprime with k for any k + ,   k 3 . Hence, for any b + ,   b 2 , we might hope that there are infinitely many primes q such that [ :   q ] has an equisum b –partition with a relatively small defect. Closer study gives support to this hope.
If [ :   q ] has an equisum b –partition with b + ,   b 2 , then Σ [ :   q ] = b s for some s + ,   s q . Perhaps, for each b 2 , there might be a prime q 0 such that [ :   q ] has an equisum b –partition if and only if b | Σ [ :   q ] and q q 0 . The next example is consistent with this possibility.
Example 6.
For 2 b 5 , the earliest instances of q such that b | Σ [ :   q ] are the following, noted for each b as pairs ( q ,   s ) with s : = Σ [ :   q ] / b , for s q .
b = 2 :   ( 5 ,   5 ) ,   ( 11 ,   14 ) ,   ( 17 ,   29 ) ,   ( 23 ,   50 ) ,   ( 31 ,   80 ) ,   ( 41 ,   119 ) ,   ( 47 ,   164 ) , b = 3 :   ( 29 ,   43 ) ,   ( 53 ,   127 ) ,   ( 61 ,   167 ) ,   ( 71 ,   213 ) ,   ( 89 ,   321 ) , b = 4 :   ( 23 ,   25 ) ,   ( 31 ,   40 ) ,   ( 47 ,   82 ) , ( 59 ,   110 ) , ( 67 ,   142 ) , ( 73 ,   178 ) , ( 97 ,   265 ) , b = 5 :   ( 31 ,   32 ) ,   ( 59 ,   88 ) ,   ( 97 ,   212 ) ,  
For b = 6 the instances are much less frequent: ( 269 ,   1145 ) is the first.
Evidently, b = 4 :   ( 23 ,   25 ) and b = 5 :   ( 31 ,   32 ) do not have equisum partitions of order b because s is not large enough. For each order b 6 , the following are the earliest possible equisum b –partitions, with the corresponding possible q 0 . Considerations of parity show that the block containing 2 must be the only block of its size, so each partition has a positive defect:
b = 2 ,   q 0 = 5 :   { 2 ,   3 } ,   { 5 } ;   { 2 ,   5 ,   7 } , { 3 ,   11 } ;   { 2 ,   3 ,   7 ,   17 } , { 5 ,   11 ,   13 } ;   b = 3 ,   q 0 = 29 :   { 2 ,   5 ,   17 ,   19 } ,   { 7 ,   13 ,   23 } ,   { 3 ,   11 ,   29 } ; b = 4 ,   q 0 = 31 :   { 2 ,   7 ,   31 } ,   { 3 ,   5 ,   13 ,   19 } ,   { 11 ,   29 } , { 17 ,   23 } ; b = 5 ,   q 0 = 59 :   { 2 ,   7 ,   19 ,   23 ,   37 } ,   { 3 ,   11 ,   31 ,   43 } , { 5 ,   13 ,   17 ,   53 } , { 29 ,   59 } ,   { 41 ,   47 } ;
For b = 6 :   ( 269 ,   1145 ) , an equisum partition of order 6 for q 0 = 269 is
{ 2 ,   103 ,   251 ,   257 ,   263 ,   269 } , { 5 ,   97 ,   101 ,   229 ,   233 ,   239 ,   241 } ,   { 17 ,   71 ,   197 ,   199 ,   211 ,   223 ,   227 } ,   { 61 ,   167 ,   173 ,   179 ,   181 ,   191 ,   193 } ,   { 11 ,   107 ,   131 ,   137 ,   139 ,   149 ,   151 ,   157 ,   163 } ,   B ,
where the final block B is the subset of 21 remaining primes from [ :   127 ] . This solution was produced using a greedy algorithm approach. It is easy to see that order 6 equisum partitions with smaller defect do exist: for example, the subset { 7 ,   13 ,   23 ,   29 ,   31 } B could be exchanged for Guy’s prime { 103 } from the first block to reduce the defect of the above partition.
Let us examine the case b = 2 more closely. Let : = { p n : n + } with p n < p n + 1 for all n + . Since 2 is the only even prime, 2 | Σ [ :   p n ] if and only if n is odd. Suppose, for some particular k , that [ :   p 2 k + 1 ] has an equisum 2–partition
k : = { B k ,   i : i { 1 ,   2 } } .
Say that k has the extension property if there are subsets A B k , 1 ,   A B k , 2 such that Σ A Σ A = ε k , where p 2 k + 3 p 2 k + 2 : = 2 ε k . (This is somewhat related to the classical Goldbach conjecture.) Then,
B k + 1 , 1 : = ( B k , 1 \ A ) A { p 2 k + 2 } ,   B k + 1 , 2 : = ( B k , 2 \ A ) A { p 2 k + 3 }
is an equisum 2–partition k + 1 of [ :   p 2 k + 3 ] . (To suit the notation, at times it might be necessary to interchange the two blocks of k . ) If ε k = p , the construction always works with A = { p } ,   A = . If ε k = 1 , and 2, 3 are in separate blocks of k , then A = { 2 } ,   A = { 3 } works and 2, 3 are in separate blocks of k + 1 . Beginning with B 1 ,   1 = { 2 ,   3 } ,   B 1 , 2 = { 5 } , the sequence
ε 1 = ε 2 = ε 3 = 2 ,   ε 4 = 1 , ε 5 = ε 6 = 2 , ε 7 = ε 8 = 3 , ε 9 = 1 , ε 10 = 2 , ε 11 = 4 , ε 12 = ε 13 = 1 ,   ε 14 = 7 ,      
leads to equisum 2–partitions with B 2 ,   1 = { 3 ,   11 } ,   B 2 , 2 = { 2 ,   5 ,   7 } , and subsequently:
3 B 4 ,   1 ,   2 B 4 , 2 ;   2 B 5 ,   1 , 3 B 5 , 2 ;   2 B 7 ,   1 , 3 B 7 , 2 ; 2 B 9 ,   1 , 3 B 9 , 2 ; 3 B 10 ,   1 , 2 B 10 , 2 ; 2 , 3 B 11 ,   1 ,   7 B 11 ,   2 ; 2 , 7 B 12 ,   1 , 3 B 12 , 2 ; 2 , 7 B 14 ,   1 , 3 B 14 , 2 ; 2 B 15 ,   1 , 3 , 7 B 15 , 2 ;
Thus, [ :   p 2 k + 1 ] has an equisum 2–partition for 1 k 15 , since the first 14 cases have the extension property, and apart from adjoining the two new primes, at each step, except k = 11 and k = 14 , it suffices to move 2, or move 3, or interchange 2 and 3; when k = 11 we interchange 3 and 7, and when k = 14 we move 7. This covers all primes to p 31 = 127 . Even the famously large gap ε 14 = 7 is accommodated. The construction is heuristic rather than algorithmic, as the extension property has not been proved to continue to hold, though it is highly plausible that it will do so.
Conjecture: 
[ :   p 2 k + 1 ] has an equisum 2–partition for all k + .
Similar, but more complicated, heuristic constructions can be given for higher order partitions, but we leave the details for the reader.

4. Divisor Sets

For any n + the divisor set of n is D ( n ) : = { d + : d | n } , and
Σ D ( n ) : = σ ( n ) = { σ ( p a ) = p a + 1 1 p 1 :     p a P ( n ) } ,
where P ( n ) : = { p a : p ,   a 1 ,   p a n } is the set of maximal prime-power divisors of n . We call ω ( n ) : = | P ( n ) | the rank of n : it is simply the number of distinct prime factors of n .
For any b + ,   b 2 , a necessary condition for D ( n ) to have an equisum b –partition is b | σ ( n ) and s : = σ ( n ) / b n , since n D ( n ) . Thus, we need σ ( n ) b n , so the “boundary case” σ ( n ) = 2 n requires n to be perfect [6]; in all other cases, σ ( n ) > 2 n , so n is abundant. No prime-power is perfect or abundant, since σ ( p a ) < 2 p a always holds: for D ( n ) to have an equisum b –partition with b 2 , the rank of n must be at least 2. Indeed, order b 3 requires a rank of at least 3, order b 5 requires rank at least 6, and so on. If n is odd and has rank 2 then σ ( n ) < 15 n / 8 , so an equisum 2 –partition of D ( n ) for n of rank 2 is only possible if 2 | n . If n = 2 a p for some a + ,   p ,   p 3 , then
σ ( n ) = ( 2 a + 1 1 ) ( p + 1 ) 2 n 2 a + 1 p + 1
so D ( 2 a p ) can have an equisum 2 –partition only if 2 a + 1 p + 1 .
Lemma 5.
Let a + ,   p ,   2 a + 1 1 p 3 . For every m + ,   m a , the divisor set D ( 2 m p ) has an equisum 2 –partition.
Proof. 
Let k : = ( p + 1 ) / 2 . Choose any m + , m a , and let
B 1 : = D ( 2 m 1 p ) ,   B 2 : = { 2 m ,   2 m p } .
Then ( m ) : = { B 1 , B 2 } is a 2 –partition of D ( 2 m p ) , with block sums
s 1 : = Σ B 1 = ( 2 m 1 ) ( p + 1 ) ,     s 2 : = Σ B 2 = 2 m ( p + 1 ) = s 1 + 2 k .
To begin, suppose k = 2 a and m = a . (This is the case in which 2 a p is perfect.) Then the block sums of ( a ) are
s 1 = 2 k ( k 1 ) ,     s 2 = 2 k 2
so the transfer
B 1 : = B 1 { 2 a } = B 1 { k } ,   B 2 : = B 2 \ { 2 a } = { 2 a p } = { k ( 2 k 1 ) }
produces a new 2 –partition ( a ) : = { B 1 , B 2 } of D ( 2 a p ) which is equisum, since its block sums are
s 1 : = Σ B 1 = s 1 + k = k ( 2 k 1 ) ,   s 2 : = Σ B 2 = s 2 k = k ( 2 k 1 ) .
Note that B 1 = D ( 2 a p ) \ { 2 a p } , B 2 = { 2 a p } and s 1 = s 2 = 2 a p . Now suppose k = 2 a and m > a , or   k < 2 a and m a . (In this case 2 m p is abundant.) Recall that the block sums of ( m ) : = { B 1 , B 2 } satisfy s 2 = s 1 + 2 k . Let r : = 2 m k . Then 0 < r < 2 m because either k = 2 a < 2 m or k < 2 a 2 m . Since B 1 contains { 2 i : 0 i m 1 } , there is some set R B 1 such that Σ R = r matches the binary representation of r . Now the exchange
B 1 : = ( B 1 \ R ) { 2 m } ,     B 2 : = ( B 2 \ { 2 m } ) R
defines a 2 –partition ( m ) : = { B 1 , B 2 } of D ( 2 m p ) which is equisum, since
s 1 : = Σ B 1 = s 1 r + 2 m = s 1 + k ,     s 2 : = Σ B 2 = s 2 2 m + r = s 2 k = s 1 + k .
This construction explicitly satisfies the claim. □
When a , m + , the divisor set D ( 2 a p m ) contains exactly m + 1 odd factors of 2 a p m , so the block sums of any 2 –partition of D ( 2 a p m ) have the same parity if and only if m is odd. Hence, an equisum 2 –partition of D ( 2 a p m ) is only possible when m is odd.
Suppose m is odd and 2 a + 1 σ ( p m ) . Continue with the construction used to prove Lemma 5, now adjusted by taking
B 1 : = D ( 2 a 1 p m ) ,   B 2 : = { 2 a p i : 0 i m } .
As m is odd, so σ ( p m ) is even. Let k : = σ ( p m ) / 2 and r : = 2 a k , so 0 r < 2 a . There is a subset R { 2 i : 0 i < a } B 1 such that Σ R = r , and the exchange
B 1 : = ( B 1 \ R ) { 2 a } ,     B 2 : = ( B 2 \ { 2 a } ) R
produces an equisum 2–partition of D ( 2 a p m ) . If r = 0 , then R = . Hence, we have
Theorem 7.
Let a ,   m + ,   2 m ,   p ,   p 3 ,   2 a + 1 σ ( p m ) . Then the divisor set D ( 2 a p m ) has an equisum 2 –partition.
It is worth noting that the equisum 2 –partition explicitly constructed to prove Theorem 7 is not necessarily unique. For instance, when n = 2 5 3 3 = 864 , the constructed equisum 2 –partition of D ( n ) has { 4 ,   8 ,   96 ,   288 ,   864 } as the block containing n , while an alternative has { 108 ,   288 ,   864 } as the block containing n . (This alternative essentially results from the identity 2 3 + 1 = 3 2 . )
We shall forego discussion of equisum b –partitions of divisor sets D ( n ) for cases when n has rank greater than 2. However, there is a nice question to note. Presumably for each b + ,   b 2 , there are divisor sets D ( n ) which have an equisum b –partition; if so, what is the smallest such n ?

5. Aliquot Sets

For any n + , the aliquot set D ( n ) : = { d + : d | n ,   d < n } is the set of divisors less than n , often called its aliquot parts. Its sum is s ( n ) : = Σ D ( n ) = σ ( n ) n . Unlike σ ( n ) , the function s ( n ) is not multiplicative, so it is less straightforward to use the structure of n to predict when s ( n ) will be a multiple of any given b + . However, for the simplest case b = 2 ,   n 3 , evidently 2 | s ( n ) if and only if σ ( n ) and n have the same parity: this occurs precisely when n is an odd square, or n is even and is neither a square nor twice a square.
The construction used for Lemma 5 and Theorem 7 easily adapts to the aliquot case, and shows in particular that the aliquot set of an even perfect number has an equisum 2–partition.
Theorem 8.
Let a ,   m + ,   2 m ,   p ,   p 3 ,   2 a + 1 σ ( p m ) . Then, the aliquot set D ( 2 a p m ) has an equisum 2 partition.
Proof. 
Let : = { B 1 , B 2 } be the equisum 2–partition of the divisor set D ( 2 a p m ) used to establish Theorem 7. Then { 2 a 1 p i : 1 i m } B 1 and 2 a p m B 2 . Let
B 1 : = B 1 \ { 2 a 1 p m } ,     B 2 : = ( B 2 \ { 2 a p m } ) { 2 a 1 p m } .
Evidently, : = { B 1 , B 2 } is an equisum 2–partition of D ( 2 a p m ) . □
For any n + , suppose the divisor set D ( 2 n ) has an equisum 2–partition : = { B 1 , B 2 } such that n B 1 , 2 n B 2 . Then, the construction used for Theorem 8 modifies to yield an equisum 2–partition : = { B 1 , B 2 } for the aliquot set D ( 2 n ) , thus:
B 1 : = B 1 \ { n } ,     B 2 : = ( B 2 \ { 2 n } ) { n } .
Note that if is an equisum 2–partition of D ( 2 n ) , the blocks of do not necessarily separate n and 2 n . For instance, D ( 600 ) has an equisum 2–partition into { 30 ,   300 ,   600 } and its complement. On the other hand, the equisum 2–partition into { 30 ,   100 ,   200 ,   600 } and its complement does separate 300 and 600, so easily modifies to give an equisum 2–partition of D ( 600 ) .
For any a , b + ,   p , b 2 , we have D ( p a ) = { 1 } p D ( p a 1 ) , so any b –partition of D ( p a ) has one block sum in the residue class 1 ( mod   p ) and all others in 0 ( mod   p ) ; hence, the block sums cannot be equal. Thus, if D ( n ) has an equisum b –partition, n must have a rank of at least 2.
For brevity, we shall confine the remaining discussion to equisum 2 –partitions of D ( n ) for odd n of rank 2.
Theorem 9.
Let n + ,   2 n ,   have just two distinct prime factors p < q . If the aliquot set D ( n 2 ) has anequisum 2 partition then p ,   q are twin primes or p = 3 ,   q = 7 .
Proof. 
Let n 2 : = p 2 a q 2 c for some a ,   c + . Clearly, D ( n 2 ) has no equisum 2 –partition if its largest aliquot divisor p 2 a 1 q 2 c is greater than the sum of all other aliquot divisors. The sum of those other divisors is
S : = σ ( p 2 a q 2 c 1 ) + q 2 c σ ( p 2 a 2 ) < p 2 a + 1 q 2 c ( p 1 ) ( q 1 ) + p 2 a 1 q 2 c p 1 .
Hence, S < p 2 a 1 q 2 c certainly holds if p 2 ( p 2 ) ( q 1 ) . For p { 3 ,   5 } , this holds when q 11 . For p 7 , it holds when q p + 4 ; since q is prime, the only case not then excluded is q = p + 2 .
Theorem 10.
For every a ,   c + , the aliquot set D ( 3 2 a 5 2 c ) has an equisum 2–partition.
Proof. 
When n = 3 2 5 2 = 225 , the aliquot set D ( n ) has the equisum 2 –partition
D ( 225 ) = { 1 ,   3 ,   15 ,   25 ,   45 } { 5 ,   9 ,   75 } .
Fix c + and suppose : = { B 1 , B 2 } is an equisum 2 –partition of D ( 3 2 5 2 c ) with 3 : = 5 2 c B 1 . Since
D ( 3 2 5 2 c + 2 ) \ D ( 3 2 5 2 c ) = { 3 2 5 2 c } 5 2 c + 1 D ( 3 2 5 ) ,
then D ( 3 2 5 2 c + 2 ) has 2 –partition : = { B 1 , B 2 } such that
B 1 : = ( B 1 \ { 3 · 5 2 c } ) { 3 · 5 2 c + 1 , 3 · 5 2 c + 2 } , B 2 : = B 2 { 3 · 5 2 c , 3 2 5 2 c } { 5 2 c + 1 , 5 2 c + 2 , 3 2 5 2 c + 1 } .
Moreover, is equisum because
Σ B 1 Σ B 1 3 · 5 2 c = 87 · 5 2 c ,     Σ B 2 Σ B 2 = 87 · 5 2 c .
Now fix a ,   c + and suppose C : = { C 1 , C 2 } is an equisum 2 –partition of D ( 3 2 a 5 2 c ) with 3 2 a C 1 . Then D ( 3 2 a + 2 5 2 c ) has 2 –partition C : = { C 1 , C 2 } such that
C 1 : = ( C 1 \ { 3 2 a } ) 3 2 a + 1 E ( 5 2 c ) 3 2 a + 2 E ( 5 2 c 2 ) , C 2 : = C 2 { 3 2 a , 3 2 a 5 2 c } 3 2 a + 1 5 E ( 5 2 c 2 ) 3 2 a + 2 5 E ( 5 2 c 2 ) ,
where E ( 5 2 c ) : = { 5 2 i : i ,   0 i c } . Furthermore, C is equisum because
Σ C 1 Σ C 1 3 2 a = 7 K · 3 2 a ,   Σ B 2 Σ B 2 = 7 K · 3 2 a ,     K : = ( 5 2 c 1 ) / 2 .
Induction on a and c completes the argument. □
As before, the proof of Theorem 10, and that which follows for Theorem 11, do essentially provide unconditional algorithms for constructing an equisum partition in any concrete instance.
Theorem 11.
For a { 1 ,   2 } and every c + , the aliquot set D ( 3 2 a 7 2 c ) has an equisum 2–partition.
Proof. 
When n = 3 2 7 2 = 441 , the aliquot set D ( n ) has the equisum 2 –partition
D ( 441 ) = { 3 ,   147 } { 1 ,   7 ,   9 ,   21 ,   49 ,   63 } .
Fix c + and suppose : = { B 1 , B 2 } is an equisum 2 –partition of D ( 3 2 7 2 c ) with 7 2 c B 2 . Then D ( 3 2 7 2 c + 2 ) has 2 –partition : = { B 1 , B 2 } such that
B 1 : = B 1 { 7 2 c ,   3 · 7 2 c + 2 } , B 2 : = ( B 2 \ { 7 2 c } ) { 3 2 7 2 c ,   7 2 c + 1 ,   3 · 7 2 c + 1 ,   3 2 7 2 c + 1 ,   7 2 c + 2 } .
Moreover is equisum because
Σ B 1 Σ B 1 = 148 · 7 2 c ,     Σ B 2 Σ B 2 7 2 c = 148 · 7 2 c .
When n = 3 4 7 2 = 3969 , the aliquot set D ( n ) has an equisum 2 –partition comprising
{ 1 ,   7 ,   49 ,   63 ,   147 ,   189 ,   441 ,   567 }
and its complement. When n = 3 4 7 4 = 194481 , the aliquot set D ( n ) has an equisum 2 –partition comprising { 1 ,   3 3 7 ,   3 · 7 4 ,   3 3 7 4 } and its complement. Fix c 2 and assume C : = { C 1 , C 2 } is an equisum 2 –partition of D ( 3 4 7 2 c ) with 3 3 7 2 c C 1 ,   7 2 c C 2 . Then D ( 3 4 7 2 c + 2 ) has the 2 –partition C : = { C 1 , C 2 } such that
C 1 : = ( C 1 \ { 3 3 7 2 c } ) { 7 2 c } { 3 · 7 2 c + 2 , 3 3 7 2 c + 2 } ,
with complement C 2 : = D ( 3 4 7 2 c + 2 ) \ C 1 . Furthermore,
Σ C 1 Σ C 1 3 3 7 2 c = 1444 · 7 2 c ,     Σ C 2 Σ C 2 7 2 c = 1444 · 7 2 c ,
so C is equisum. The claim now follows by induction on c . □
Probably the aliquot set D ( 3 2 a 7 2 c ) has an equisum 2–partition for every a ,   c + , although a general construction seems to be elusive. However, perhaps there is only a finite number of prime pairs p , q such that D ( p 2 a q 2 c ) has an equisum 2 –partition for any a ,   c + .
As with divisor sets, we forego discussion of aliquot sets D ( n ) when n has rank greater than 2 , except to report that D ( 5040 ) has both an equisum 3 –partition and an equisum 4 –partition, so we can ask the following general question. Presumably for each b + ,   b 2 , there are aliquot sets D ( n ) which have an equisum b –partition; if so, what is the smallest such n ?

6. Concluding Remarks

Except in the case of aliquot divisor sets of odd integers, it has been shown in a variety of contexts that when a finite set of positive integers meets simple necessary conditions, it turns out to have an equisum partition of an appropriate order. The cases studied have been treated constructively. Intriguingly, although the constructions are strong evidence that such partitions will be possible in general, existence proofs of significant generality seem to be elusive.

Footnote

This study was motivated by the author’s recent geometric work on divisor sets and aliquot sets, including partitioning an appropriate rectangle into rectangles of areas equal to the relevant divisors [7].

Funding

This research received no external funding.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Hardy, G.H.; Wright, E.M. An Introduction to the Theory of Numbers, 5th ed.; Clarendon Press: Oxford, UK, 1979; Chapter XIX–XXI; pp. 273–316, reprinted by Clarendon Press: Oxford, UK, 1988. [Google Scholar]
  2. Nathanson, M.B. Additive Number Theory; Springer: New York, NY, USA, 1996. [Google Scholar]
  3. Van der Waerden, B.L. Beweis einer Baudetschen Vermutung. Nieuw Arch. Wisk. 1927, 15, 212–216. [Google Scholar]
  4. Green, B.J.; Tao, T.C.S. The primes contain arbitrarily long arithmetic progressions. Ann. Math. 2008, 167, 481–547. [Google Scholar] [CrossRef] [Green Version]
  5. Guy, R.K.; Chapter, C. Additive Number Theory. In Unsolved Problems in Number Theory, 3rd ed.; Springer: New York, NY, USA, 2004; pp. 159–208. [Google Scholar]
  6. OEIS. A000396: Perfect numbers. In OEIS: The On-Line Encyclopedia of Integer Sequences; Available online: https://oeis.org (accessed on 12 July 2019).
  7. Eggleton, R.B. A geometric view of divisors and aliquot parts of integers. in preparation. 2019. [Google Scholar]

Share and Cite

MDPI and ACS Style

Eggleton, R.B. Equisum Partitions of Sets of Positive Integers. Algorithms 2019, 12, 164. https://doi.org/10.3390/a12080164

AMA Style

Eggleton RB. Equisum Partitions of Sets of Positive Integers. Algorithms. 2019; 12(8):164. https://doi.org/10.3390/a12080164

Chicago/Turabian Style

Eggleton, Roger B. 2019. "Equisum Partitions of Sets of Positive Integers" Algorithms 12, no. 8: 164. https://doi.org/10.3390/a12080164

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop