Find the inverse of $5$ under multiplication modulo $11$ on $Z_{11}$
Please help me with problem. Can't show any work because I don't know how to proceed.
Find the inverse of $5$ under multiplication modulo $11$ on $Z_{11}$
Please help me with problem. Can't show any work because I don't know how to proceed.
You have $11=5\times 2+1$, so $-2\times 5=1 \pmod{11}$.
So the inverse of $5$ in $Z_{11}$ is $-2=9 \pmod{11}$.
if you know fermat's little theorem $a^{p-1} \equiv 1 \mod p $.
Then you can use this fact since $$a^{p-2} \cdot a = a \cdot a^{p-2} \equiv 1 \mod p$$
so just calculate $a^{p-2} \mod p$
in your case $5^9 \mod 11 = 9$