On the degree of polynomials computing square roots mod p
Abstract
For an odd prime , we say computes square roots in if, for all nonzero perfect squares , we have . When , it is well known that computes square roots. This degree is surprisingly low (and in fact lowest possible), since we have specified evaluations (up to sign) of the polynomial . On the other hand, for there was previously no nontrivial bound known on the lowest degree of a polynomial computing square roots in ; it could have been anywhere between and . We show that for all , the degree of a polynomial computing square roots has degree at least . Our main new ingredient is a general lemma which may be of independent interest: powers of a low degree polynomial cannot have too many consecutive zero coefficients. The proof method also yields a robust version: any polynomial that computes square roots for 99\% of the squares also has degree almost . In the other direction, a result of Agou, Deligl\'ese, and Nicolas (Designs, Codes, and Cryptography, 2003) shows that for infinitely many , the degree of a polynomial computing square roots can be as small as .
Cite
@article{arxiv.2311.10956,
title = {On the degree of polynomials computing square roots mod p},
author = {Kiran Kedlaya and Swastik Kopparty},
journal= {arXiv preprint arXiv:2311.10956},
year = {2024}
}
Comments
14 pages. Changes to previous version: We learnt that our upper bound for special $p$, Theorem 1.3, had been proved by Agou, Deligl\'ese and Nicolas in 2003. Added some relevant references