Finding inverse mod $p^{k}$

454 Views Asked by At

We can find the inverse mod $p$ by taking a primitive root and generating the multiplicative group with it. Is there a similar method for finding the inverse of the invertible elements mod $p^{k}$, $k>1$?

2

There are 2 best solutions below

5
On

If $p \ne 2$, you can use the same method. The inverse in any cyclic group can be found by the same method. The invertible elements mod $p^k$ (for $p \ne 2$) form a cyclic group (under multiplication).

0
On

If prime $p \ne 2$, there is a primitive root mod $p^k$.