Research Article
BibTex RIS Cite
Year 2019, Volume: 11 Issue: 2, 74 - 77, 31.12.2019

Abstract

References

  • Duta, C., Gheorghe, L., Tapus, N., Framework for Evaluation and Comparison of Primality Testing Algorithms, 20th Int. Conf. on Control Systems and Science, 2015.
  • Kumar, A., Kim, T., Lee, H., An Improved Divisibility Test Algorithm for Primality Testing, Ubiquitous Information Technologies and Applications, pp. 547--554, Y.-H. Han et al. eds., 2013.
  • Liang, Y.D., Efficient Algorithms for Finding Prime Numbers In Introduction to Java Programming, 10th Edition, Pearson, pp. 860-866, 2015.
  • Riesel, H., Prime Numbers and Computer Methods for Factorization, Chap. Basic Concepts in Higher Algebra, Springer Science+Business Media, LLC 2012, Modern Birkh\"{a}user.
  • Schoof, R., Four Primality Testing Algorithms, Algorithmic Number Theory, MSRI Publications, Volume 44, 2008.
  • Wang, X., Mathematical Foundations of Public Key Cryptography, CRC Press, pp.27-30. 2016.
  • Yan, S. Y., Computational Number Theory and Modern Cryptography, Chap. Primality Testing, Wiley, 2017.

An Efficient Algorithm to Find All Primes in A Given Interval

Year 2019, Volume: 11 Issue: 2, 74 - 77, 31.12.2019

Abstract

In this paper, we propose a deterministic algorithm for primality testing and primes search in a given integer interval. The algorithm use a new primality test method, which replace modulo operator with elementary arithmetic operations, hence a better efficiency than divisibility test. The algorithm is working; it generates a prime base by an expansion process and is appropriate for a fast search for small primes (a dozen of digits). We propose a filtering method to overcome memory constraints, and use the algorithm to expand much more the prime base and find medium size primes (dozens of digits).

References

  • Duta, C., Gheorghe, L., Tapus, N., Framework for Evaluation and Comparison of Primality Testing Algorithms, 20th Int. Conf. on Control Systems and Science, 2015.
  • Kumar, A., Kim, T., Lee, H., An Improved Divisibility Test Algorithm for Primality Testing, Ubiquitous Information Technologies and Applications, pp. 547--554, Y.-H. Han et al. eds., 2013.
  • Liang, Y.D., Efficient Algorithms for Finding Prime Numbers In Introduction to Java Programming, 10th Edition, Pearson, pp. 860-866, 2015.
  • Riesel, H., Prime Numbers and Computer Methods for Factorization, Chap. Basic Concepts in Higher Algebra, Springer Science+Business Media, LLC 2012, Modern Birkh\"{a}user.
  • Schoof, R., Four Primality Testing Algorithms, Algorithmic Number Theory, MSRI Publications, Volume 44, 2008.
  • Wang, X., Mathematical Foundations of Public Key Cryptography, CRC Press, pp.27-30. 2016.
  • Yan, S. Y., Computational Number Theory and Modern Cryptography, Chap. Primality Testing, Wiley, 2017.
There are 7 citations in total.

Details

Primary Language English
Subjects Engineering
Journal Section Articles
Authors

Farhat Mechkene 0000-0002-5044-1483

Publication Date December 31, 2019
Published in Issue Year 2019 Volume: 11 Issue: 2

Cite

APA Mechkene, F. (2019). An Efficient Algorithm to Find All Primes in A Given Interval. Turkish Journal of Mathematics and Computer Science, 11(2), 74-77.
AMA Mechkene F. An Efficient Algorithm to Find All Primes in A Given Interval. TJMCS. December 2019;11(2):74-77.
Chicago Mechkene, Farhat. “An Efficient Algorithm to Find All Primes in A Given Interval”. Turkish Journal of Mathematics and Computer Science 11, no. 2 (December 2019): 74-77.
EndNote Mechkene F (December 1, 2019) An Efficient Algorithm to Find All Primes in A Given Interval. Turkish Journal of Mathematics and Computer Science 11 2 74–77.
IEEE F. Mechkene, “An Efficient Algorithm to Find All Primes in A Given Interval”, TJMCS, vol. 11, no. 2, pp. 74–77, 2019.
ISNAD Mechkene, Farhat. “An Efficient Algorithm to Find All Primes in A Given Interval”. Turkish Journal of Mathematics and Computer Science 11/2 (December 2019), 74-77.
JAMA Mechkene F. An Efficient Algorithm to Find All Primes in A Given Interval. TJMCS. 2019;11:74–77.
MLA Mechkene, Farhat. “An Efficient Algorithm to Find All Primes in A Given Interval”. Turkish Journal of Mathematics and Computer Science, vol. 11, no. 2, 2019, pp. 74-77.
Vancouver Mechkene F. An Efficient Algorithm to Find All Primes in A Given Interval. TJMCS. 2019;11(2):74-7.