首页 | 本学科首页   官方微博 | 高级检索  
     检索      


Explicit primality criteria for
Authors:Andreas Stein  H C Williams
Institution:University of Waterloo, Department of Combinatorics and Optimization, Waterloo, Ontario, Canada N2L 3G1 ; University of Manitoba, Department of Computer Science, Winnipeg, Manitoba, Canada R3T 2N2
Abstract:

Deterministic polynomial time primality criteria for $2^n-1$ have been known since the work of Lucas in 1876-1878. Little is known, however, about the existence of deterministic polynomial time primality tests for numbers of the more general form $N_n=(p-1)\,p^n-1$, where $p$ is any fixed prime. When $n>(p-1)/2$ we show that it is always possible to produce a Lucas-like deterministic test for the primality of $N_n$ which requires that only $O(q\,(p+\log q)+p^3+\log N_n)$ modular multiplications be performed modulo $N_n$, as long as we can find a prime $q$ of the form $1+k\, p$ such that $N_n^{\,k}-1$ is not divisible by $q$. We also show that for all $p$ with $3<p<10^7$ such a $q$ can be found very readily, and that the most difficult case in which to find a $q$ appears, somewhat surprisingly, to be that for $p=3$. Some explanation is provided as to why this case is so difficult.

Keywords:Primality test  Mersenne numbers  Lucas functions  Gauss sums  covering sets
点击此处可从《Mathematics of Computation》浏览原始摘要信息
点击此处可从《Mathematics of Computation》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号