Testing mersenne primes with elliptic curves

  • Authors:
  • Song Y. Yan;Glyn James

  • Affiliations:
  • Faculty of Engineering & Computing, Coventry University, Coventry, UK;Faculty of Engineering & Computing, Coventry University, Coventry, UK

  • Venue:
  • CASC'06 Proceedings of the 9th international conference on Computer Algebra in Scientific Computing
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

The current primality test in use for Mersenne primes continues to be the Lucas-Lehmer test, invented by Lucas in 1876 and proved by Lehmer in 1935. In this paper, a practical approach to an elliptic curve test of Gross for Mersenne primes, is discussed and analyzed. The most important advantage of the test is that, unlike the Lucas-Lehmer test which requires ${\cal O}(p)$ arithmetic operations and ${\cal O}(p^3)$ bit operations in order to determine whether or not Mp=2p–1 is prime, it only needs ${\cal O}(\lambda)$ arithmetic operations and ${\cal O}(\lambda^3)$ bit operations, with λ≪p. Hence it is more efficient than the Lucas-Lehmer test, but is still as simple, elegant and practical.