Abstract
A new combined primality test for natural numbers consisting of the Lucas test and checking Fermat’s condition \({{2}^{{n - 1}}} \equiv 1\,(\bmod n)\) is studied. We call this procedure an L2 test. Composite numbers passing the L2 test are called L2 pseudoprimes. We give a description of a new effective algorithm for searching for L2 pseudoprimes; using it, we show that there is no L2 pseudoprime \(n\) of a special form \(n \equiv \pm 2\,(\bmod 5)\) less \(B = {{10}^{{23}}}\) (this border has been reached to date and is constantly increasing). Thus, the L2 test is a deterministic test that allows one to determine the primality of natural numbers \(n \equiv \pm 2\,(\bmod 5)\) at least up to \({{10}^{{23}}}\) using only two iterations, each of which has a computational complexity of \(O({{\ln }^{3}}n)\).
REFERENCES
W. R. Alford, A. Granville, and C. Pomerance, “There are infinitely many Carmichael numbers,” Ann. Math. 139, 703–722 (1994). https://doi.org/10.2307/2118576
R. Crandall and C. Pomerance, Prime Numbers: A Computational Perspective (Springer, New York, 2005). https://doi.org/10.1007/0-387-28979-8
Sh. T. Ishmukhametov, R. G. Rubtsova, and R. R. Khusnutdinov, “A new primality test for natural integers,” Russ. Math. 66, 70–73 (2022). https://doi.org/10.3103/S1066369X22020049
S. Ishmukhametov, N. Antonov, and B. Mubarakov, A New Primality Test Constructed As a Combination of Miller–Rabin and Lucas Algorithms (MDPI Special Ed.), in press.
Computational complexity of mathematical operations, Wikipedia. https://en.wikipedia.org/wiki/Computational_complexity_of_mathematical_operations.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
The authors declare that they have no conflicts of interest.
About this article
Cite this article
Ishmukhametov, S.T., Antonov, N.A., Mubarakov, B.G. et al. On a Combined Primality Test. Russ Math. 66, 112–117 (2022). https://doi.org/10.3103/S1066369X22120088
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.3103/S1066369X22120088