Counting Egyptian fractions
Sandro Bettin, Lo\"ic Greni\'e, Giuseppe Molteni, Carlo Sanna

TL;DR
This paper investigates the growth of the number of Egyptian fractions with denominators up to N, providing bounds that involve iterated logarithms, thus advancing understanding of their combinatorial complexity.
Contribution
It establishes new upper and lower bounds for the count of Egyptian fractions with denominators up to N, involving iterated logarithmic functions.
Findings
Lower bound: (N / log N) times product of iterated logs
Upper bound: approximately 0.421 times N
Bounds hold for large N and fixed k ≥ 3
Abstract
For any integer , let be the set of all Egyptian fractions employing denominators less than or equal to . We give upper and lower bounds for the cardinality of , proving that for any fixed integer and every sufficiently large , where denotes the -th iterated logarithm of .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnalytic Number Theory Research · Mathematical Dynamics and Fractals · Limits and Structures in Graph Theory
Important: It has been pointed out to the authors that the bounds on given in this paper were already proved in [3] (the upper bound in a stronger form).
We plan to update further this article at a later stage.
Counting Egyptian fractions
Sandro Bettin
Dipartimento di Matematica, Università di Genova, Via Dodecaneso 35, 16146 Genova, Italy
,
Loïc Grenié
Dipartimento di Ingegneria Gestionale, dell’Informazione e della Produzione, Università di Bergamo, viale Marconi 5, 24044 Dalmine, Italy
,
Giuseppe Molteni
Dipartimento di Matematica, Università di Milano, Via Saldini 50, 20133 Milano, Italy
and
Carlo Sanna
Dipartimento di Matematica, Università di Genova, Via Dodecaneso 35, 16146 Genova, Italy
Abstract.
For any integer , let be the set of all Egyptian fractions employing denominators less than or equal to . We give upper and lower bounds for the cardinality of , proving that
[TABLE]
for any fixed integer and every sufficiently large , where denotes the -th iterated logarithm of .
Key words and phrases:
Egyptian fractions
2010 Mathematics Subject Classification:
Primary: 11D68, Secondary: 11B99
1. Introduction
Every positive rational number can be written in the form of an Egyptian fraction, that is, as a sum of distinct unit fractions: with distinct. Several properties of these representations have been investigated. For example, it is known that all rationals are representable using only denominators which are [11, 12] (see also [9]) or that different denominators are always sufficient [10]. It is also well understood which integers can be represented using denominators up to a bound [4], and Martin [5, 6] showed that any rational can be represented as a “dense Egyptian fraction”. In this paper we take a different direction, and study the cardinality of the set of rational numbers representable using denominators up to ,
[TABLE]
as .
Another motivation for studying the cardinality of comes from the recent work of three of the authors [2] (see also [1]), where the question of how well a real number can be approximated by sums of the form , where , is studied. Precisely, let
[TABLE]
for every positive integer . Note that and have the same cardinality, since is a bijection .
It has been proved that \mathfrak{m}_{N}(\tau)<\exp\big{(}-(\tfrac{1}{\log 4}-\varepsilon)(\log N)^{2}\big{)} for every , , and for all sufficiently large positive integers , depending on and [2, Theorem 1.1]; and that for any , there exists such that for infinitely many [1, Proposition 5.9]. On the other hand, it is possible to obtain lower bounds for holding for almost all by giving upper bounds for the cardinality of . Indeed, defining
[TABLE]
by a Borel-Cantelli argument one obtains the following lower bound.
Lemma 1.1**.**
Fix . For almost all we have
[TABLE]
for all sufficiently large , depending on and .
In [2, Proposition 2.7] we proved that with a simple argument, improving upon the trivial In this paper, we improve this bound even further, thus producing a better lower bound for .
Theorem 1.2**.**
We have , that is, for all large enough.
In the opposite direction, it is not difficult to show that . In the following theorem we show that one can slightly improve over this lower bound.
Theorem 1.3**.**
For every integer we have
[TABLE]
for all sufficiently large , depending on .
Theorem 1.3 is proved by showing that the set of integers for which the quotient attains its maximum value is quite large. With some more effort it is possible to give an explicit sequence of positive integers such that (1) holds for every .
Upper and lower bounds in Theorems 1.2 and 1.3 have different orders and it is not clear whether one of them seizes the true behavior of the sequence . Only a few of these numbers can be computed, since the algorithms devised for this purpose have an exponential behavior (in time or in memory). The ones which are known are in Table 1 and partially appear as sequence A072207 of [8]. A graph of and of is in Figure 1. As the range of for which is known is very small, the data do not make it clear whether might converge to [math] or to any other real number.
Acknowledgements
S. Bettin is member of the INdAM group GNAMPA. L. Grenié, G. Molteni and C. Sanna are members of the INdAM group GNSAGA. C. Sanna is supported by a postdoctoral fellowship of INdAM. The extensive computations needed for this paper have been performed on the UNITECH INDACO computing platform of the Università di Milano and on the computing cluster of the Université de Bordeaux. The authors warmly thank Alessio Alessi and Karim Belabas for their operative assistance for these computations.
Notation
We employ the Landau–Bachmann “Big Oh” notation as well as the associated Vinogradov symbols and . We reserve the letter for prime numbers. We put and for every integer and every sufficiently large .
2. Proof of Lemma 1.1
The definition of implies that we have an upper bound , for all large enough . The claim follows by the Borel–Cantelli lemma. We have
[TABLE]
Hence, the Lebesgue measure of is estimated by
[TABLE]
This implies that, for almost every , the lower bound holds for all sufficiently large .
3. Proof of Theorem 1.2
For each prime number and for every positive integer , let denote the -adic valuation of . We begin with the following easy lemma.
Lemma 3.1**.**
For each prime number , let be a positive integer, and suppose that for all but finitely many primes . Then, the natural density of the set
[TABLE]
is equal to
[TABLE]
where we note that only finitely many prime numbers contribute to the product. The formula can also be written as
[TABLE]
where .
Proof.
This is a standard argument, we reproduce it here for completeness. Let when and otherwise. Note that is a multiplicative function, so that
[TABLE]
Note that is a finite Euler product (because for a.e. prime), which is analytic for . Set , with . Then
[TABLE]
and . (A more careful analysis shows that the error term has size , uniformly in and .) The alternative representation of as a sum of divisors of follows immediately by the unique factorization of integers as a product of prime powers. ∎
The next lemma is our key tool to provide numerical upper bounds for .
Lemma 3.2**.**
Let be finite nonempty sets of natural numbers. We have
[TABLE]
where ,
[TABLE]
and, for ,
[TABLE]
Proof.
For any any prime let and
[TABLE]
Let for every integer . Note that for all with . Indeed, suppose that for some and . Then, for every prime number , we have
[TABLE]
which in turn implies that . Hence, and .
Clearly is for all but finitely many prime numbers . Hence, Lemma 3.1 applies, and the natural density of the set is
[TABLE]
with . Let be a positive integer. Since are contained in , we have that the sets , with and are pairwise disjoint. Let be their union. Clearly, . Also, we have
[TABLE]
as .
We are finally ready to give an upper bound for . Every element of is of the form
[TABLE]
where for all , and . Therefore, we have
[TABLE]
as , where we used (2). Consequently,
[TABLE]
as claimed. ∎
Lemma 3.2 gives non-trivial bounds for already when applied in the simplest case . Table 2 displays, for some choices of , the value of the parameter (obtained numerically) and the corresponding bound .
Notice that it is always convenient to include in since its presence does not affect the fraction whereas it typically increases the value of . The result in [2, Proposition 2.7] corresponds to the above construction with . A judicious choice of a larger improves the result, but the gain in is considerably tempered by the size of , which becomes smaller and smaller. The last entry in Table 2 represents the best bound we were able to obtain with this approach.
Better results can be attained by taking . Given , one can take the collection with for . In this case the bound in Lemma 3.2 simplifies to
[TABLE]
with . A first naive choice is to take for . Notice that with this choice . Now, for some let be such that for . Then
[TABLE]
Now
[TABLE]
with Thus, by Merten’s theorem and since
[TABLE]
one obtains as . In particular, taking for example , we get
[TABLE]
as and so for any we obtain if is large enough. By the definition of we have that for all one has for large enough , thus giving . Notice that due to the loss of the factor this argument fails to recover an upper bound of the type for , and for example it would only gives if . However, it shows that by taking large enough one can surely get arbitrarily close to the upper bound just by performing a finite numerical computation.
An alternative and more effective approach arises from the observation that the density depends only on the valuations , and so it is the same for different sharing the same least common multiple. In particular, it is convenient to select the numbers in as the full collection of divisors of a given integer . In this case the bound further simplifies to
[TABLE]
Indeed, if are all the divisors of , then we get
[TABLE]
Numerically it seems that best results come from taking with only “small” prime divisors (say, for example, , for some , or some small variations of it) and this could be explained by the observation that with numbers of this shape an argument analogous to the above does not have a loss of (notice however that in this case is not equal to , so the argument is not fully recursive as in the previous case). Table 3 collects some bounds one gets in this way. Most likely further improvements could be obtained by taking larger numbers. However, the quantity of time and memory one needs to compute for large prevented us to any significant improvement on the value appearing at the bottom of Table 3.
The search of a good way to store the huge vectors containing the numbers in led us to consider the following upper bound for .
Lemma 3.3**.**
Let be the full set of divisors of an integer , let , and let and as in Lemma 3.2. Then
[TABLE]
Proof.
Let . Hence, for . Consequently, . Moreover, , so that . We can improve this bound by a factor since , so that all numbers in have the same parity of . As a consequence, , as desired. ∎
At this point, we are ready to explain the method that we used to prove the bound of Theorem 1.2. The main idea is to use the upper bound given by (3), but computing the exact value of only for small . Precisely, let be a (very large) positive integer and let be all its divisors. Also, let be a (small) divisor of and let be all its divisors. For each divisor of we pre-compute the value , where . Then, for each divisor of we look for the largest dividing , and we estimate with the minimum between what we get from Lemma 3.3 and the number . This is a correct bound since, by the assumption on , we have and consequently is at most multiplied by the power of two elevated to the difference of the cardinalities of and .
Table 4 collects some results we get in this way for suitable choices of and . The last entry gives our best result, which proves Theorem 1.2. Its computation needed approximatively 40 hours and 200GB.
4. Proof of Theorem 1.3
Define the set
[TABLE]
and let for every .
Lemma 4.1**.**
If then . Consequently, .
Proof.
On the one hand, implies that . On the other hand, . Hence, we have , as claimed. ∎
In light of Lemma 4.1, to produce a lower bound for it is sufficient to give a lower bound for .
Lemma 4.2**.**
* contains and all prime numbers.*
Proof.
The fact that follows immediately from the definition of . Furthermore, for every prime number and for every , the identity
[TABLE]
is impossible, since the left-hand side has nonnegative -adic valuation (all denominators are not divisible by ) while the right-hand side has negative -adic valuation. Hence, . ∎
For each positive integer , let and .
Lemma 4.3**.**
If and is a prime number, then .
Proof.
Suppose by contradiction that . Hence, there exist such that
[TABLE]
Consequently, splitting the sum according to whether and multiplying by we obtain
[TABLE]
which in turn implies that
[TABLE]
Since , the number on the left hand side is non-zero. Moreover, the absolute value of its numerator is at most , which by hypothesis is strictly smaller than . But then (4) is impossible. ∎
Remark 4.1*.*
The proofs of Lemma 4.2 and Lemma 4.4 can be easily adapted to show that if and is a prime number then for every positive integer . However, this generalization does not lead to an improvement of our final result.
Lemma 4.4**.**
If and is a prime number, then .
Proof.
In light of Lemma 4.3, it is enough to prove that for every positive integer . On the one hand, from [7, p. 228] we know that . On the other hand,
[TABLE]
Hence, for every integer . A direct computation shows that the holds also for . ∎
As usual, let denote the number of prime numbers not exceeding . The next lemma gives a recursive lower bound for .
Lemma 4.5**.**
Let and . Then
[TABLE]
Proof.
Let us consider the natural numbers of the form , where is a prime number satisfying and . Thanks to Lemma 4.4, we have that . Moreover, these numbers can be written in the form in a unique way. Indeed, for the sake of contradiction, suppose that for some satisfying the same conditions as , with . Then, , so that , which is impossible. At this point, counting the choices for and , we get
[TABLE]
The desired claim follows by applying the inequality , which in turn follows from the estimate valid for all . ∎
We need the following technical lemma. Let and for all integers .
Lemma 4.6**.**
For any fixed integer , we have
[TABLE]
as .
Proof.
For the empty product appearing on the left hand side is set to , by definition, and the claim is clear in this case. Assume . We have
[TABLE]
as . The claim then follows from de l’Hôpital’s rule. ∎
Lemma 4.7**.**
For every integer , we have
[TABLE]
for all sufficiently large , depending on .
Proof.
We proceed by induction on . By Lemma 4.2 and by Chebyshev’s estimate, we have
[TABLE]
for all sufficiently large . This proves the claim for . Suppose and that we have already proved the claim for . Put and assume that is sufficiently large. By Lemma 4.5 and by Chebyshev’s estimate, we have
[TABLE]
Furthermore, by partial summation and by the induction hypothesis, we get
[TABLE]
for all sufficiently large , depending on , where we employed Lemma 4.6. Putting together (5) and (6) we obtain the desired claim. ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] S. Bettin, G. Molteni, and C. Sanna, Greedy approximations by signed harmonic sums and the Thue–Morse sequence , https://arxiv.org/abs/1805.00075 .
- 2[2] S. Bettin, G. Molteni, and C. Sanna, Small values of signed harmonic sums , C. R. Math. Acad. Sci. Paris 356 (2018), no. 11-12, 1062–1074.
- 3[3] M. N. Bleicher and P. Erdős, The number of distinct subsums of ∑ 1 N 1 / i superscript subscript 1 𝑁 1 𝑖 \sum_{1}^{N}\,1/i , Math. Comp. 29 (1975), 29–42, Collection of articles dedicated to Derrick Henry Lehmer on the occasion of his seventieth birthday.
- 4[4] E. S. Croot, III, On some questions of Erdős and Graham about Egyptian fractions , Mathematika 46 (1999), no. 2, 359–372.
- 5[5] G. Martin, Dense Egyptian fractions , Trans. Amer. Math. Soc. 351 (1999), no. 9, 3641–3657.
- 6[6] G. Martin, Denser Egyptian fractions , Acta Arith. 95 (2000), no. 3, 231–260.
- 7[7] B. Rosser, Explicit bounds for some functions of prime numbers , Amer. J. Math. 63 (1941), 211–232.
- 8[8] N. J. A. Sloane, The On-Line Encyclopedia of Integer Sequences , http://oeis.org .
