Submitted:
25 June 2025
Posted:
26 June 2025
You are already at the latest version
Abstract
Keywords:
1. Motivation and Novelty
2. Minimality Theorem
3. Algorithm
| Algorithm 1 ILIRS_Primes |
|
4. Reference Python Code
| Listing 1. ILIRS (pure Python) |
![]() |
5. Benchmarks
| Method | ||||
|---|---|---|---|---|
| ILIRS (Python) | 4.4 ms | 55 ms | 1.09 s | 22 s |
| Miller–Rabin incremental | 3.8 ms | 51 ms | 1.01 s | 22.8 s |
| Segmented sieve (C) | 0.6 ms | 9.8 ms | 0.19 s | 4.1 s |
6. Conclusion
References
- J. B. Rosser, Explicit Bounds for Some Functions of Prime Numbers, Amer. Math. Monthly 49 (1942). [CrossRef]
- P. Dusart, Estimates of Some Functions Over Primes, arXiv:1808.01712 (2018).
- C. Pomerance, J. Selfridge, S. Wagstaff, The Pseudoprimes to 25 · 109, Math. Comp. 35 (1980). [CrossRef]
- A. Meurer et al., SymPy: symbolic computing in Python, PeerJ CS 3:e103 (2017). [CrossRef]
- J. C. Lagarias, V. S. Miller, A. M. Odlyzko, Computing π(x): the Meissel–Lehmer Method, Math. Comp. 44 (1985). [CrossRef]
- H. Riesel, Prime Numbers and Computer Methods for Factorization, 2nd ed., Birkhäuser (1994).
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 authors. 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 (http://creativecommons.org/licenses/by/4.0/).
