Baghdad Science Journal (Oct 2023)

COMPARATIVE STUDY BETWEEN A NOVEL DETERMINISTIC TEST FOR MERSENNE PRIMES AND THE WELL-KNOWN PRIMALITY TESTS

  • Yahia Awad,
  • Ramiz Hindi,
  • Haissam Chehade

DOI
https://doi.org/10.21123/bsj.2023.7791
Journal volume & issue
Vol. 20, no. 5(Suppl.)

Abstract

Read online

In this article, a new deterministic primality test for Mersenne primes is presented. It also includes a comparative study between well-known primality tests in order to identify the best test. Moreover, new modifications are suggested in order to eliminate pseudoprimes. The study covers random primes such as Mersenne primes and Proth primes. Finally, these tests are arranged from the best to the worst according to strength, speed, and effectiveness based on the results obtained through programs prepared and operated by Mathematica, and the results are presented through tables and graphs.

Keywords