arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.07719cs.DS
收藏

关于三次和四次Jacobi符号的欧几里德方法

On Euclidean Methods for Cubic and Quartic Jacobi Symbols

Eric Bach, Bryce Sandlund

摘要:

我们研究了位的复杂性的两种方法,相关的欧几里德算法,用于计算三次和四次类似物的雅可比符号。在这样的过程中的主要瓶颈是长除法的商的计算。我们给出的例子表明,与标准的算术,如果计算的直接因素是天真的(通过使用确切的范数作为矩阵,然后舍入),算法有$Θ(n^3)$位复杂度。这是一个"民间定理",它可以通过修改除法程序简化为$O(n^2)$。我们给出了一个自包含的证明,并表明,二次时间是最好的可能,这些算法(与标准的算术或不)。我们还解决了使用互易性的相对效率,欧拉的标准相比,测试如果一个给定的数字是一个立方或四次剩余模奇素数。哪一个更好取决于要做的残留物测试的数量。最后,我们讨论了在${\bf Z}$中计算Jacobi符号的Eisenstein偶商算法的三次和四次类似物。虽然四次算法是由史密斯在1859年,版本的立方符号似乎是新的。据我们所知,以前也没有分析过。我们表明,这两种算法具有指数最坏情况下的位复杂度。三次算法的证明涉及四个连续项的循环重复,这可能是独立的兴趣。

英文摘要:

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 $Θ(n^3)$ bit complexity. It is a "folk theorem" that this can be reduced to $O(n^2)$ 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 tests to be done. Finally, we discuss the cubic and quartic analogs of Eisenstein's even-quotient algorithm for computing Jacobi symbols in ${\bf Z}$. Although the quartic algorithm was given by Smith in 1859, the version for cubic symbols seems to be new. As far as we know, neither was analyzed before. We show that both algorithms have exponential worst-case bit complexity. The proof for the cubic algorithm involves a cyclic repetition of four quotients, which may be of independent interest.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑