An inequality related to
the sieve of Eratosthenes
Abstract.
Let denote the number of integers free of prime factors . We show that but for a few small cases, when .
Key words and phrases:
Buchstab’s function, Selberg’s sieve2010 Mathematics Subject Classification:
11N251. Introduction
The sieve of Eratosthenes removes the multiples of the primes from the set of positive integers . Let denote the number of integers remaining. Answering a question of Ford, the first-named author [7] recently proved the following theorem.
Theorem A. When , .
If , then (where is the number of primes in ), and so by the prime number theorem, Theorem A is essentially best possible when . When , there is a long history in estimating , and in particular, we have the following theorem, essentially due to Buchstab (see [13, Theorem III.6.4]).
Theorem B. For the Buchstab function and and ,
The Buchstab function is defined as the unique continuous function on such that
Below is a graph of for generated by Mathematica.
![[Uncaptioned image]](%22Buchstab_Function%22.png)
It is known that and that oscillates above and below its limiting value infinitely often. The minimum value of on is at and the maximum value is , occurring at . In particular, it follows from Theorem B that if and with sufficiently large depending on the choice of , that . In addition, using an inclusion–exclusion argument plus the fact that the Mertens product for all , the inequality can be extended to all , but now with sufficiently large depending on .
In light of Theorem A and given that is a fundamental (and ancient) function, it seems interesting to try and make these consequences of Theorem B numerically explicit. We prove the following theorem.
Theorem 1.
For , we have . The same inequality holds when and .
To prove this we use some numerically explicit estimates of primes due to Rosser–Schoenfeld, Büthe, and others. In addition we use a numerically explicit version of the upper bound in Selberg’s sieve.
Theorem B itself is also appealing. It provides a simple asymptotic formula for as which is applicable in a wide range. Writing
one may attempt to establish numerically explicit lower and upper bounds for in the range for suitably large , where is some numerically computable constant. More precisely, de Bruijn [3] essentially showed that for any given , one has
for all , where
Recently, the first-named author [8] proved numerically explicit versions of this result applicable for in wide ranges.
2. A prime lemma
Let denote, as usual, the number of primes . Let
where the principal value is taken for the singularity at . There is a long history in trying to find the first point when , which we now know is beyond . We prove a lemma based on this research.
Lemma 1.
Let . For , we have .
Proof.
The result is true for , so assume . Consider the Chebyshev function
We use [10, Prop. 2.1], which depends strongly on extensive calculations of Büthe [4, 5] and Platt [11]. This result asserts in part that for and for larger , . One easily checks that for , so we have
By partial summation, we have
Since , we have
(1) |
This gives the lemma. ∎
After checking for , we remark that an immediate corollary of (2) is the inequality
(2) |
3. Inclusion–exclusion
For small values of we can do a complete inclusion–exclusion to compute . Let denote the product of the primes . We have
(3) |
As a consequence, we have
(4) |
We illustrate how this elementary inequality can be used in the case when , that is, . Then the product in (4) is . The remainder term in (4) is 16. And we have
when . There remains the problem of dealing with smaller values of , which we address momentarily. We apply this method for .
interval | bound | max |
---|---|---|
22 | .61035 | |
51 | .57940 | |
96 | .55598 | |
370 | .56634 | |
613 | .55424 | |
1603 | .56085 | |
2753 | .54854 | |
6296 | .55124 | |
17539 | .55806 | |
30519 | .55253 | |
76932 | .55707 | |
.55955 | ||
.55648 | ||
.55369 | ||
.55972 | ||
.55650 | ||
.55743 | ||
.55685 | ||
.55641 |
Pertaining to Table 1, for beyond the “ bound” and in the given interval, we have . The column “max” in Table 1 is the supremum of for in the given interval and with below the bound. The max statistic was computed by creating a table of the integers up to the bound with a prime factor , taking the complement of this set in the set of all integers up to the bound, and then computing where is the th member of the set and is the upper bound of the interval. The max of these numbers is recorded as the max statistic.
As one can see, for the max statistic in Table 1 is below . However, for the interval it is above . One can compute that it is once .
This method can be extended to larger values of , but the bound becomes prohibitively large. With a goal of keeping the bound smaller than , we can extend a version of inclusion-exclusion to as follows.
First, we “pre-sieve” with the primes 2, 3, and 5. For any the number of integers with is , where , as can be easily verified by looking at values of . We change the definition of to be the product of the primes in . Then for , we have
However, it is better to use the Bonferroni inequalities in the form
say, where is the number of distinct prime factors of . (We remark that the expression could be replaced with .) The inner sums in can be computed easily using Newton’s identities, and we see that
We have verified that this bound is smaller than for and we have verified that for up to this bound and .
This completes the proof of Theorem 1 for .
4. When is large: Selberg’s sieve
In this section we prove Theorem 1 in the case that and . Our principal tool is a numerically explicit form of Selberg’s sieve.
Let be a set of positive integers and with . Let be a set of primes . For each we have a collection of residue classes mod , where . Let denote the product of the members of . Let be the multiplicative function defined for numbers where when . We let
We define via the equation
The thought is that should be small. We are interested in , the number of those such that is coprime to .
We will use Selberg’s sieve as given in [9, Theorem 7.1]. This involves an auxiliary parameter which can be freely chosen. Let be the multiplicative function supported on divisors of such that . In particular if each , then each and , so for , where is Euler’s function. Henceforth we will make this assumption (that each ). Let
where is the number of ordered factorizations , where are positive integers. Selberg’s sieve gives in this situation that
(5) |
Note that if , then
so that . This is terrific, but if is so large, the remainder term in (5) is also large, making the estimate useless. So, the trick is to choose judiciously so that is under control with being near to .
Consider the case when each , for a constant . In this situation the following lemma is useful.
Lemma 2.
For , we have
Proof.
Let denote the number of positive divisors of . Note that
One can show that for the first product on the right is smaller than , but we will only use the “cleaner” bound (which holds when ). Thus,
This completes the proof. ∎
To get a lower bound for in (5) we proceed as in [9, Section 7.4]. Recall that we are assuming each and so for .
Let
so that . Hence
(6) |
so we want an upper bound for . Let be arbitrary with . We have
and so, assuming each ,
(7) |
In particular, if and each , then
(8) |
We shall choose so that the remainder term is small in comparison to , and once is chosen, we shall choose so as to minimize .
4.1. The case when and .
We wish to apply (8) to estimate when , that is, when . We have a few choices for and . The most natural choice is that is the set of all integers , , and is the set of all primes . In this case, each , so that we can take in (8) (since in this case). Instead we choose (as in the last section) as the set of all integers that are coprime to 30 and we choose as the set of primes with . Then and one can check that each , so we can take in (8). Also,
when . With this choice of and , (8) becomes
(9) |
when .
Our “target” for is . We choose here so that our estimate for the remainder term is 1% of the target, namely . Thus, in light of Lemma 2, we choose
We have verified that for every value of and that the right side of (9) is smaller than . Note that to verify this, if are consecutive primes with , then is constant for , and so it suffices to show the right side of (9) is smaller than . Further, it suffices to take , since as increases beyond this point with and fixed, the expression decreases. For smaller values of in the range, we used Mathematica to choose the optimal choice of . For larger values, we let be a judicious constant over a long interval. As an example, we chose in the top half of the range.
4.2. When and .
As in the discussion above we have a few choices to make, namely for the quantities and . First, we choose , since the case follows from the proof of the case of equality. We choose as before, namely . We also choose
Our goal is to prove a small upper bound for given in (7). We have
We treat the two sums separately. First, by Rosser–Schoenfeld [12, Theorems 9, 20], one can show that
for all , so that
(10) |
for . For the second sum we have
At this point we use (2) , so that
and so
(11) |
There are a few things to notice, but we will not need them. For example, and .
Let be the sum of the right side of (10) and times the right side of (11). Then
The expression in (9) is
We know from [10] that this product is for , and for larger values of , it follows from [6, Theorem 5.9] (which proof follows from [6, Theorem 4.2] or [2, Corollary 11.2]) that it is . We have
(12) | ||||
We have verified that is decreasing in , and that at it is smaller than . Thus, (12) implies that
This concludes the case of .
5. Small
In this section we prove that when , that is, when .
For small values of , we calculate the maximum of for directly, as we did in Section 3 when we checked below the bounds in Table 1 and the bound . We have done this for , and in this range we have
Suppose now that and . We have
(13) |
Indeed, if is counted by , then has at most 2 prime factors (counted with multiplicity), so , is a prime in or , where are primes with .
Let denote the th prime. Note that
Thus,
and so
(14) |
where
Via partial summation, we have
(16) |
For we have checked numerically that
where is the Meissel–Mertens constant. Further, for ,
(The lower bounds here follow as well from [12, Theorem 20].) It thus follows for that
(17) |
where . Now suppose that . Using [6, Eq. (5.7)] and the value 4.4916 for “” from [2, Table 15], we have that
Thus, (17) continues to hold for with .00624 improved to .00322. We thus have from (16)
(18) |
Let , so that as . We write the first term on the right side of (15) as
and note that the first term on the right of (18) is less than
For the expression in we use the inequality when , which follows from [1, Lemma 3.4] and a calculation (also see [6, Corollary 5.2]). Further, we use for the rest of .
Using these estimates and numerical integration for the integral in (18) we find that
6. Iteration
Suppose is a positive integer and we have shown that
(19) |
for all and . We can try to find some not much larger than such that
for and . We start with , which by the results of the previous section we can take as .57163. In this section we attempt to find for such that . It would then follow from Section 4 that for all and .
Suppose that (19) holds and that is such that . We have
(20) |
Indeed the sum counts all with least prime factor , and counts all with least prime factor . As we have seen, it suffices to deal with the case when for some prime .
Note that if holds, then it also holds for . Indeed, if is a prime, then for all , and in this case , by hypothesis. Letting shows we have as well. If is not prime, then for all sufficiently small , we again have and the same proof works.
Thus, we have (19) holding for all of the terms on the right side of (20). This implies that
(21) |
We expect that the parenthetical expression here is about the same as , so let us try to quantify this. Let
Let be the largest prime , so that
It follows from (21) that
Note that as grows, is non-increasing since the max is over a smaller set of primes . Thus, we have the inequality
(22) |
Thus, we would like
(23) |
We have checked (23) numerically for primes and it holds for .
This leaves the case of primes . We have the identity
via partial summation, where is again Chebyshev’s function. First assume that . Then, using [4], [5], we have , so that
We also have [4], [5] that , so that one can verify that
and so (23) holds for . It remains to consider the cases when , which implies . Here we use , which is from [6, Theorem 4.2] or [2, Corollary 11.2]. This shows that (23) holds here as well, completing the proof of Theorem 1.
References
- [1] D. Berkane and P. Dusart, On a constant related to the prime counting function, Mediterr. J. Math. 13 (2016), 929–938.
- [2] S. Broadbent, H. Kadiri, A. Lumley, N. Ng, and K. Wilk, Sharper bounds for the Chebyshev function , Math. Comp. 90 (2021), 2281–2315.
- [3] N. G. de Bruijn, On the number of uncancelled elements in the sieve of Eratosthenes, Nederl. Akad. Wetensch. Proc. 53 (1950), 803–812.
- [4] J. Büthe, Estimating and related functions under partial RH assumptions, Math. Comp. 85 (2016), 2483–2498.
- [5] J. Büthe, An analytic method for bounding , Math. Comp. 87 (2018), 1991–2009.
- [6] P. Dusart, Explicit estimates of some functions over primes, Ramanujan J. 45 (2018), 227–251.
- [7] K. (S.) Fan, An inequality for the distribution of numbers free of small prime factors, Integers 22 (2022), #A26, 12 pp.
- [8] K. (S.) Fan, Numerically explicit estimates for the distribution of rough numbers, preprint, 2023.
- [9] J. Friedlander and H. Iwaniec, Opera de cribro, Amer. Math. Soc. Colloq. Pub. 57, 2010.
- [10] J. D. Lichtman and C. Pomerance, Explicit estimates for the distribution of numbers free of large prime factors, J. Number Theory 183 (2018), 1–23.
- [11] D. J. Platt, Isolating some non-trivial zeros of zeta, Math. Comp. 86 (2017), 2449–2467.
- [12] J. B. Rosser and L. Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J. Math. 6 (1962), 64–94.
- [13] G. Tenenbaum, Introduction to analytic and probabilistic number theory, third edition, Graduate Studies in Mathematics 163, Amer. Math. Soc., Providence, 2015.