paper

A primality test for numbers

arXiv:2604.18498

Abstract

We develop an algebraic framework over arbitrary quadratic fields to generalize the Miller-Rabin primality test. Consequently, we present a deterministic primality test for integers of the form that requires only a single modular exponentiation and achieves a computational complexity of . 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.

14 pages. Comments are welcome

A primality test for $Kp^\ell - 1$ numbers · wovepaper