I have the following question which I do not understand. Here it is:
Consider the primes $5$, $7$ and $11$ as n. For each integer from $1$ through $n - 1$, calculate its inverse.
I do not understand what this question is exactly saying. Would I only have to do $1$ through $(11-1)$ and find the inverse of those?
Or is it asking me to find the inverse for the function $n-1$?
If someone could clear this up for me that'd be great!
It sounds like you are working in modular arithmetic. So for $5$ you are supposed to find $x=\frac 11 \pmod 5, y=\frac 12 \pmod 5$, etc. $x$ is pretty easy. For $y$, you need to find $z$ such that $2z=1 \pmod 5$, and so on.