关于模素幂乘逆的Newton-Raphson迭代
On Newton-Raphson iteration for multiplicative inverses modulo prime powers
摘要:
我们研究算法的快速计算模逆。在$p$数上的Newton-Raphson迭代给出了计算模逆$p^m$的递推关系,即在$m$中是对数的.我们解决的递归获得一个明确的公式的逆。然后,我们研究了不同的实现这种迭代的变体,并表明我们的显式公式是有趣的小指数值,但速度较慢或大指数,说超过$700$位。总体而言,我们因此提出了一个混合的组合,我们的显式公式和最好的渐近变量。这种混合组合产生了一个常数因子的改善,也为大指数。
英文摘要:
We study algorithms for the fast computation of modular inverses. Newton-Raphson iteration over $p$-adic numbers gives a recurrence relation computing modular inverse modulo $p^m$, that is logarithmic in $m$. We solve the recurrence to obtain an explicit formula for the inverse. Then we study different implementation variants of this iteration and show that our explicit formula is interesting for small exponent values but slower or large exponent, say of more than $700$ bits. Overall we thus propose a hybrid combination of our explicit formula and the best asymptotic variants. This hybrid combination yields then a constant factor improvement, also for large exponents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。