- Modular Inverses
i.
subtract 7
Multiply by multiplicative inverse of
ii.
This has no solution because reduced it becomes
iii.
Here there is a common factor of 3 so we divide by it to gain:
However as the original problem was
iv.
We wish to find the multiplicative inverse of
You can find this using the extended Euclidean algorithm.
It is also possible to find the answer using a special multiplicative inverse calculator that you can find online if you are short of time.
The extended Euclidean algorithm is explained here http://www-math.ucdenver.edu/~wcherowi/courses/m5410/exeucalg.html
For our calculation we find the multiplicative inverse of 19 modulo 257 as follows:
Now that we have found a remainder 1 we rearrange each equation to make the remainder the subject
Now we substitute each remainder into the bottom equation.
Therefore multiplying 19 -27 times will give us the multiplicative inverse of 19 modulo 257 and
Multiplying our original equation by this gives us the answer