Finding Integer Roots of Polynomials in Nearly Optimal Time
Yansong Feng, Itamar Nir
Abstract
Let f∈ Z[x] be a polynomial of degree n with integer coefficients of absolute value less than 2b. Using Pan's approximate factorization theorem, we give a deterministic algorithm that finds all distinct integer roots of f in O(nb) bit operations. This matches the bit size of the input up to logarithmic factors and does not require f to be square-free. Since we were unable to verify parts of the running time analysis of Pan's theorem, we also give a self-contained deterministic algorithm with running time O(nb+(n,b)3b2), which is O(nb) whenever b≤ n1/4. This answers a question of Harvey and Hittmeir (2022), who asked whether integer roots can be found deterministically in quasilinear time, conditionally on Pan's theorem, and unconditionally for b≤ n1/4. The fastest previous deterministic algorithm, due to Nir, takes O(n3/2b) bit operations and works only for square-free polynomials. Instead of p-adic lifting, we combine approximate complex root finding with exact polynomial evaluation. We first approximate the complex roots of the polynomial formed by the top (n,b)+1 coefficients of f. Every integer root r of f with |r|≥ 2 lies within distance 2 of some complex root of this truncated polynomial. Rounding the real parts of the approximate roots therefore gives a list of O((n,b)) candidate integers that is guaranteed to contain all integer roots of f. Although a single candidate can have up to b bits, a bound via the Mahler measure shows that the bit lengths of all candidates sum to O(b). This allows us to test all candidates by exact multipoint evaluation in O(nb) bit operations.
Create a lesson
Related papers
Almost primes in short intervals and averages of long Dirichlet polynomial approximations to (ζ'/ζ)k
Siegfred Baluyot, John Brian Conrey, Ayesha Irfan et al.
On the Diophantine equation Cx2+p12m1p22m2·s pk2mk=yq
Usha K. Sangale, Priyanka R. Satpute
Asymptotics for partitions over the Fibonacci numbers and related sequences, II
Michael Coons, Simon Kristensen, Mathias L. Laursen
Inverse powers and 2-adic properties of binary 3 x 3 matrices associated with the Tribonacci sequence
Wilson Arley Martinez, Samin Ingrith Ceron
Counting irreducible skew polynomials x2n+axn+1
Tomoya Hayata, Takahiro Tsushima
The smallest-parts function and elliptic curves
Ajit Singh