pith. sign in

arxiv: 1304.2314 · v3 · pith:UKESWN6Bnew · submitted 2013-04-08 · 🧮 math.NT

A Modification of LLR

classification 🧮 math.NT
keywords testalgorithmmodificationprimalityexpectedintegerknownnumbers
0
0 comments X
read the original abstract

The Lucas-Lehmer (LL) primality test for Mersenne numbers is the fastest known primality test. In 1969, Hans Riesel published a modification of LL to test numbers of the form $N = h \cdot 2^n - 1$, where $h < 2^n$ is an odd integer and $n \ge 2$ \cite{Riesel}. This test is now known as the Lucas-Lehmer-Riesel (LLR) primality test. In Algorithm \ref{PrimalityAlgorithm}, we present a modification of LLR which works for any odd integer $N$. A probabilistic version of our algorithm runs in expected time $\tilde{O}(\log^3 N)$, and a deterministic version in expected $\tilde{O}(\log^4 N)$. We conclude with a conjecture which, if true, would imply that there exists a polynomial time algorithm for factoring integers.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.