Loading web-font TeX/Math/Italic
Algorithms for Inversion Mod - | IEEE Journals & Magazine | IEEE Xplore

Algorithms for Inversion Mod p^k


Abstract:

This article describes and analyzes all existing algorithms for computing x = a-1 (mod pk) for a prime p, and also introduces a new algorithm based on the exact solution ...Show More

Abstract:

This article describes and analyzes all existing algorithms for computing x = a-1 (mod pk) for a prime p, and also introduces a new algorithm based on the exact solution of linear equations using p-adic expansions. The algorithm starts with the initial value c = a-1 (mod p) and iterativelycomputes the digits of the inverse x = a-1 (mod pk) in base p. The mod 2 version of the algorithm is more efficient than all existing algorithms for small values of k. Moreover, it stands out as being the only one that works for any p, any k, and digit-by-digit. While the new algorithm is asymptotically worse off, it requires the minimal number of arithmetic operations (just a single addition) per step, as compared to all existing algorithms.
Published in: IEEE Transactions on Computers ( Volume: 69, Issue: 6, 01 June 2020)
Page(s): 907 - 913
Date of Publication: 30 January 2020

ISSN Information:


Contact IEEE to Subscribe

References

References is not available for this document.