Submitted:
28 July 2024
Posted:
30 July 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Methods
3. Results
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Lehmann-Ziebarth, N.; Heideman, P.P.; Shapiro, R.A.; Stoddart, S.L.; Hsiao, C.C.L.; Stephenson, G.R.; Milewski, P.A.; Ives, A.R. Evolution of Periodicity in Periodical Cicadas. Ecology 2005, 86, 3200–3211. [Google Scholar] [CrossRef]
- Williams, K.S.; Simon, C. The Ecology, Behavior, and Evolution of Periodical Cicadas. Annu. Rev. Èntomol. 1995, 40, 269–295. [Google Scholar] [CrossRef]
- Mairson, H.G. Some new upper bounds on the generation of prime numbers. Commun. ACM 1977, 20, 664–669. [Google Scholar] [CrossRef]
- Pratt, V.R. CGOL-An Algebraic Notation for MACLISP Users; Working Paper; MIT AI Lab: Cambridge, MA, USA, 1977. [Google Scholar]
- Gries, D.; Misra, J. A linear sieve algorithm for finding prime numbers. Commun. ACM 1978, 21, 999–1003. [Google Scholar] [CrossRef]
- Wood, T.C. Algorithm 35: Sieve. Commun. ACM 1961, 4, 151. [Google Scholar] [CrossRef]
- Bays, C.; Hudson, R.H. The segmented sieve of Eratosthenes and primes in arithmetic progressions to 1012. BIT Numerical Mathematics 1977, 17, 121–127. [Google Scholar] [CrossRef]
- Pritchard, P. A sublinear additive sieve for finding prime number. Commun. ACM 1981, 24, 18–23. [Google Scholar] [CrossRef]
- Pritchard, P. Explaining the wheel sieve. Acta Inform. 1982, 17. [Google Scholar] [CrossRef]
- Pritchard, P. Fast compact prime number sieves (among others). J. Algorithms 1983, 4, 332–344. [Google Scholar] [CrossRef]
- Atkin, A.O.L.; Bernstein, D.J. Prime sieves using binary quadratic forms. Math. Comput. 2003, 73, 1023–1030. [Google Scholar] [CrossRef]
| general expression | (Example.) | ||||
|---|---|---|---|---|---|
| 2, 3 | 2 | 3 | - | - | - |
| 6n+1 | 7 | 13 | 19 | 31 | 37 |
| 6n-1 | 5 | 11 | 17 | 23 | 29 |
| n | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| 6n+1 | 7 | 13 | 19 | 25 | 31 | 37 | 43 | 49 | 55 |
| n=6km+k+m (k,m are integers) |
NO | NO | NO | YES | NO | NO | NO | YES | YES |
| Prime or composite number | prime number | prime number | prime number | composite number | prime number | prime number | prime number | composite number | composite number |
| n | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| 6n-1 | 5 | 11 | 17 | 23 | 29 | 35 | 41 | 47 | 53 |
| n=6km+k-m (k,m are integers) |
NO | NO | NO | NO | NO | YES | NO | NO | NO |
| Prime or composite number | prime number | prime number | prime number | prime number | prime number | composite quantity | prime number | prime number | prime number |
| N | General formula for composite numbers (n≥1) | General formula for prime numbers (n≥1) |
|---|---|---|
| 6n | 6n (Ex. 6,12,18,24,30) |
- |
| 6n+1 | 6n+1 (n=6km+k+m (k,m are integers)) (Ex. 25,49,91) |
6n+1 (n≠6km+k+m (k,m are integers)) (Ex. 7,13,19,31) |
| 6n+2 (or 6n-4) | 6n+2 (Ex. 8,14,20,26,32) |
2 |
| 6n+3(or 6n-3) | 6n+3 (Ex. 9,12,15,18) |
3 |
| 6n+4 | 4, 6n+4 (Ex. 4,10,16,22) |
- |
| 6n+5 | 6n+5 (n = 6km+k-m (k,m are non-zero integers)) (Ex. 35,77,105) |
5, 6n+5 (n≠6km+k-m (k,m are non-zero integers)) (Ex. 11,17.23.29,41) |
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. |
© 2024 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/).