I have a little question about the calculation of the inverse of $2^{18} \mod\ 23$. I have the solution of this:
$$ \text{The inverse of $2^{18}$ is $2^{-18}$. The modulus in the exponent is $\Phi(23)=22$.}\\ 2^{-18} = 2^{-18+22} = 2^4 = 16 \ mod \ 23 $$
Thats, of course, the right solution for GF(23), but I do not know why I can calculate the inverse like this. I tried it with the Euler-Theorem:
$$ a^{-1} = a^{\phi(23)-1} \rightarrow 2^{18*(22-1)} = 2^{18*21} = 16 \ mod \ 23 $$
That leads to the same result, but is much more complicated when one is not allowed to use a calculator. So I'm interested in the idea behind the 1. solution.
Meiner
Another way of looking at the first way of doing things is that little Fermat (or Euler, which you quote) tells us that, modulo $23$, we have $2^{22}\equiv 1$. Rewrite this as $2^{18}\cdot 2^4\equiv 1$ and you have the first argument (albeit in a slightly different form).