arXiv · 2604.18498
A primality test for $Kp^\ell - 1$ numbers
Abstract
We develop an algebraic framework over arbitrary quadratic fields $L = \mathbb{Q}(\sqrt{D})$ to generalize the Miller-Rabin primality test. Consequently, we present a deterministic primality test for integers of the form $N = K p^{\ell} - 1$ that requires only a single modular exponentiation and achieves a computational complexity of $\tilde{\mathcal{O}}(\log^2 N)$. Furthermore, we also establish an analogue of Korselt's criterion within this setting. Finally, computational data generated using SageMath confirm its efficiency, successfully establishing the primality of numbers in the associated quadratic field within milliseconds.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Anuj Jakhar, Mahesh Kumar Ram. 2026-04-20. A primality test for $Kp^\ell - 1$ numbers. https://arxiv.org/abs/2604.18498
Cite the original work for its findings. Save a collection to share your selection of sources.