Abstract
Consider both the Logarithmic integral, , and the prime counting function . From several recently developed known effective bounds on the prime counting function of the general form  for  and known constants , we shall show that it is possible to establish exponentially tight effective upper and lower bounds on the prime number theorem. For , where , we have the following:   These bounds provide a modern, and very clean and explicit, version of the celebrated prime number theorem. Furthermore, it is possible to establish exponentially tight effective upper and lower bounds on the location of the  prime. Specifically, we find that  for , whereas  for . Herein, the range of validity is explicitly bounded by some calculable constant  satisfying   These bounds provide very clean and up-to-date and explicit information on the location of the  prime number. Many other fully explicit bounds along these lines can easily be developed. Overall this article presents a general algorithmic approach to converting bounds on  into somewhat clearer information regarding the primes.
    MSC:
                11A41; 11N05
            1. Introduction: Known Bounds on
Work over the last decade or so has developed a number of fully effective and explicit bounds on the prime counting function  of the following general form [,,]:
      
        
      
      
      
      
    
      where  is the well-known Logarithmic integral,
      
        
      
      
      
      
    
      and  is the prime counting function . For some widely applicable effective bounds of this type, see Table 1 below. (A straightforward elementary numerical computation is required to determine the numerical coefficients in the Trudgian [] bounds).
       
    
    Table 1.
    Some widely applicable effective bounds on .
  
In the current article we shall develop algorithmic methods for converting such bounds on  into practical and transparent information on the distribution and locations of the prime numbers. For instance the celebrated prime number theorem can be stated asymptotically as either , or as , and we will replace such asymptotic statements with explicit and effective upper and lower bounds.
2. Some Elementary Variants on These Bounds
There are various strategies for relaxing these bounds to make them more tractable, and more pragmatically useful. The most simple technique is to simply increase either of the coefficients  or decrease the coefficient c in the Trudgian bounds so as to increase the domain of validity (decrease ). The FKS and JY bounds are already maximal in this regard. A more subtle technique (based on a variant of the discussion in reference []) is as follows: let  and . Write
      
        
      
      
      
      
    
      then the quantity in braces is bounded, reaching a global maximum at
      
        
      
      
      
      
    
      where it takes on the value
      
        
      
      
      
      
    
	  Then, defining
      
        
      
      
      
      
    
      we see that
      
        
      
      
      
      
    
      with equality only at . Consequently, any bound of the form
      
        
      
      
      
      
    
      implies bounds of the form
      
        
      
      
      
      
    
Here, the coefficients  are as defined above. Both  and  are free to be chosen, while  is to be derived. As long as  is not too large, one can use explicit computations to find a larger domain of validity (some smaller ). Specifically, there will be some  such that
      
        
      
      
      
      
    
Note that because this procedure is intrinsically a relaxation (a weakening) of the bound, it is only mathematically worthwhile if this weakening is offset by either a significant increase in tractability (clarity) or an increase in the domain of validity.
In my previous work (see reference []), I focused on the case where , which is the most appropriate for finding explicit bounds (for ) of the de la Vallé Poussin form []. Herein, we shall soon see that for technical reasons (to be more fully explained below), when considering , rather than , it is more useful to consider the case . Table 2 below presents a number of derived widely applicable effective bounds of this general type. With Table 2 in hand, it is now possible to increase the parameter a to expand the range of validity. Several examples of this are given in Table 3.
       
    
    Table 2.
    Several derived widely applicable effective bounds on . Input parameters on the left; output parameters on the right. Derived bounds are all of the form . Note the input and output bounds are closest to each other in the vicinity of .
  
       
    
    Table 3.
    More derived and very widely applicable effective bounds on , again of the form . Here, the parameter a is adjusted so as to maximize the region of validity, .
  
3. Exponentially Bounding the Prime Number Theorem
Note that for any , , , we can write
      
        
      
      
      
      
    
      making it useful to define
      
        
      
      
      
      
    
	  Note the classic bound that  for  [], so that we can write
      
        
      
      
      
      
    
	  This is already somewhat interesting since it implies that the various bounds on the quantity  discussed above all lead to bounds of the form
      
        
      
      
      
      
    
	  When feasible (i.e., when  is sufficiently small), a direct computation might potentially increase the domain of validity
      
        
      
      
      
      
    
	  This can be rearranged to yield
      
        
      
      
      
      
    
      where we note that  with exponential rapidity in . To be more explicit, for , we have
      
        
      
      
      
      
    
      with these two inequalities providing a remarkably clean and effective version of the prime number theorem.
4. Localizing the Prime Number
Note that for , the function  achieves a global maximum at , above which , and below which .
Concentrating on the region above the peak, we shall first re-write  in terms of , yielding a bound in terms of . We will then convert this into an explicit function of , yielding a bound in terms of . Doing so will require giving some careful attention to the domain of validity of various inequalities. The aim is for the various manipulations introduced below to bring one closer to the peak without overshooting the peak.
First, observe that in all generality, ; more specifically, one has . Thus, if we now choose , then we can safely write
      
        
      
      
      
      
    
Second, recall that in 1952, Nagura [] (among other results) showed
      
        
      
      
      
      
    
	  This bound is by no means optimal, but it will be more than good enough for current purposes. This implies
      
        
      
      
      
      
    
      and explicitly checking smaller integers yields
      
        
      
      
      
      
    
Let us now choose  and note
      
        
      
      
      
      
    
	  Then, we certainly have
      
        
      
      
      
      
    
	  Now, invoke Rosser’s theorem , () []; then,
      
        
      
      
      
      
    
      where, in addition to the prior constraints , we now also need to check that .
To obtain a more computationally useful grasp on the domain of validity, use the fact that  for  [] and note
      
        
      
      
      
      
    
      where the quantity in braces is bounded and takes on the maximum value  at . Thence,
      
        
      
      
      
      
    
	  Thus, we see
      
        
      
      
      
      
    
	  This implies that the condition  relevant to inequality (24) is certainly satisfied for , which in turn is certainly satisfied for the region . Thus, we can safely write
      
        
      
      
      
      
    
	  Finally, combine this result with the conditions for the validity of the bound (14) to yield
      
        
      
      
      
      
    
      where we remind the reader that for current purposes, we are interested in
      
        
      
      
      
      
    
	  Because we have made various approximations to get to this stage, the actual range of the validity of the final inequality (29) may be somewhat larger than naively advertised—. That is, while the bounds (29) are certainly guaranteed to hold for values of x sufficiently far above the peak, they might still hold both at the peak and for some region below the peak.
Whenever feasible (meaning whenever  is not too large), this should be checked via an explicit computation. Evaluate  and explicitly check the inequality at all values of x below this location to find a suitable  such that:
      
        
      
      
      
      
    
      where sometimes  is significantly lower than the naive bound . At other times, , and in this situation the peak can be safely ignored. However, sometimes, we simply need to keep track of this complication.
If we evaluate this final inequality (31) at , then
      
        
      
      
      
      
    
	  Finally, as promised in the abstract,
      
        
      
      
      
      
    
	  To be more explicit,
      
        
      
      
      
      
    
      
        
      
      
      
      
    
	  Here, the range of validity is explicitly bounded by some  with
      
        
      
      
      
      
    
	  These effective bounds can be viewed as fully explicit versions of the usual Cippola asymptotic expansion (see for instance the discussion in reference []).
See Table 4 below (based on Table 1, Table 2 and Table 3 above) for some explicit examples. The outputs from Table 2, , were relabelled as  and used as inputs for new computations of  and  for the new inequalities discussed in this section.
       
    
    Table 4.
    Some widely applicable effective bounds on  and  are as follows: ; and furthermore .
  
5. Special Case
As previously indicated, the special case  is particularly appealing. Starting from any bound of the form
      
        
      
      
      
      
    
      we have the particularly simple result that
      
        
      
      
      
      
    
      whence in the range , we have
      
        
      
      
      
      
    
      and furthermore, noting that in this case we always have ,
      
        
      
      
      
      
    
      
        
      
      
      
      
    
      which is subject to the simple constraint
      
        
      
      
      
      
    
	  For several explicit effective examples of this specific behaviour, see Table 5 (which is a subset of Table 4 and a minor extension of parts of Table 3). These bounds are not necessarily optimal but, given the initial input information in Table 1, are relatively simple to derive.
       
    
    Table 5.
    Widely applicable effective bounds on  and  for  are as follows: ; .
  
6. Further Developments
Another useful trick is to evaluate the inequality
      
        
      
      
      
      
    
      both at  and at , just below . Then, since , we have both
      
        
      
      
      
      
    
      and
      
        
      
      
      
      
    
However, by the triangle inequality,
      
        
      
      
      
      
    
      which implies that
      
        
      
      
      
      
    
	  This observation can be used to develop more asymptotic bounds along the lines of the Cippola expansion, as discussed in []. It can also be related to the effective bounds developed using the first Chebyshev  function, as described in reference [].
7. For the Future
One particular issue left for future investigation is the consideration of qualitatively different bounds of the form [,]
      
        
      
      
      
      
    
	  While such bounds asymptotically improve on any of the bounds we currently have under consideration, their algebraic structure is considerably more complex, sufficiently so as to make the discussion of this present article not directly applicable.
8. Conclusions
In hindsight, an ineffective version of the bounds considered herein could have been developed some 125 years ago. The current analysis is interesting in two respects: First, using developments made over the recent decade, the bounds were made explicitly and fully effective. Secondly, because the bounds are asymptotically exponential, they will eventually always overtake and outperform bounds based on the Cippola expansion. Finally, I do not claim any of these bounds are in any way optimal. As always, there is a three-way trade-off between stringency of the bound, simplicity and pragmatic usefulness of the bound, and the region of validity. Herein, I have largely focused on simplicity of the bound and a wide (sometimes maximal) region of validity.
Funding
This research received no external funding.
Data Availability Statement
All relevant data are explicitly contained within this article.
Conflicts of Interest
The author declares no conflicts of interest.
References
- Trudgian, T. Updating the error term in the prime number theorem. Ramanujan J. 2016, 39, 225–236. [Google Scholar] [CrossRef]
 - Johnston, D.R.; Yang, A. Some explicit estimates for the error term in the prime number theorem. J. Math. Anal. Appl. 2023, 527, 127460. [Google Scholar] [CrossRef]
 - Fiori, A.; Kadiri, H.; Swindisky, J. Sharper bounds for the error term in the Prime Number Theorem. Res. Number Theory 2023, 9, 63. [Google Scholar] [CrossRef]
 - Visser, M. Effective de la Vallé Poussin style bounds on the first Chebyshev function. Int. Math. Forum 2023, 18, 133–139. [Google Scholar] [CrossRef]
 - de la Poussin, C.J.V. Recherches Analytiques Sur La Théorie Des Nombres Premiers; Hayez: Bruxelles, Belgium, 1896; Volume 20, pp. 183–256. [Google Scholar]
 - Rosser, J.B.; Schoenfeld, L. Approximate formulas for some functions of prime numbers. Illinois J. Math. 1962, 6, 64–94. [Google Scholar] [CrossRef]
 - Nagura, J. On The Interval Containing At Least One Prime Number. Proc. Jpn. Acad. 1952, 28, 177–181. [Google Scholar] [CrossRef]
 - Rosser, J.B. The n-th Prime is Greater than nlogn. Proc. Lond. Math. Soc. 1939, 45, 21–44. [Google Scholar] [CrossRef]
 - Rosser, J.B. Explicit bounds for some functions of prime numbers. Am. J. Math. 1941, 63, 211–232. [Google Scholar] [CrossRef]
 - de Reyna, J.A.; Jeremy, T. The n-th prime asymptotically. J. Theor. Nr. Bordx. 2013, 25, 521–555. [Google Scholar] [CrossRef]
 - Visser, M. Effective exponential bounds on the prime gaps. Int. Math. Forum 2025, 20, 23–31. [Google Scholar] [CrossRef]
 
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.  | 
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).