On Euclidean Methods for Cubic and Quartic Jacobi Symbols
Eric Bach, Bryce Sandlund

TL;DR
This paper analyzes the bit complexity of Euclidean-based algorithms for cubic and quartic Jacobi symbols, proving quadratic time optimality, comparing residue testing methods, and introducing new algorithms with exponential worst-case complexity.
Contribution
It provides a detailed complexity analysis of Euclidean methods for cubic and quartic Jacobi symbols, introduces new algorithms, and compares efficiency of residue testing techniques.
Findings
Quadratic time is optimal for these algorithms with standard arithmetic.
Using reciprocity or Euler's criterion depends on the number of residue tests.
Both algorithms have exponential worst-case bit complexity.
Abstract
We study the bit complexity of two methods, related to the Euclidean algorithm, for computing cubic and quartic analogs of the Jacobi symbol. The main bottleneck in such procedures is computation of a quotient for long division. We give examples to show that with standard arithmetic, if quotients are computed naively (by using exact norms as denominators, then rounding), the algorithms have bit complexity. It is a "folk theorem" that this can be reduced to by modifying the division procedure. We give a self-contained proof of this, and show that quadratic time is best possible for these algorithms (with standard arithmetic or not). We also address the relative efficiency of using reciprocity, as compared to Euler's criterion, for testing if a given number is a cubic or quartic residue modulo an odd prime. Which is preferable depends on the number of residue…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCoding theory and cryptography · Advanced Combinatorial Mathematics · semigroups and automata theory
