math.NT — Number Theory
Deterministic Polynomial-Time Primality Testing with a Single Binomial Congruence
We give a deterministic polynomial-time primality test whose main verification is the congruence in , where . Two identities in the coefficient ring normalize and ensure compatibility with the main congruence. A finite-field root count and a lattice bound show that an accepted input is a prime power; elementary preprocessing excludes nontrivial perfect powers. We construct deterministically using Jacobi sums and the uniform Dedekind-zeta zero-free theorem of Cureton and Thorner, which extends OpenAI's Hecke zero-free theorem. The total bit complexity is , where , and verification after constructing costs . More generally, for a fixed real algebraic , a common zero-free boundary for the relevant Dedekind zeta functions gives . This bound reaches at , and hence under GRH. We state a fixed-base modification of Agrawal's conjecture for odd integers passing the base- Fermat test, using the modulus with the least positive integer not dividing .