Prove that the function $f(x)=(8x+5) \bmod 17$ is injective on the set $ \{0,1,2,3,\cdots,15,16\}$. If so, give its inverse function
I know how to find the inverse of modular function and that will be $\frac{x-5}8 \bmod 17$. I need help in understanding this question.
Hint: In arithmetic modulo $n$, if $\gcd(m, n) = 1$, multiplication by $m$ is injective. (In your case, $\gcd(8, 17) = 1$, so multiplication by $8$ is injective.)
And here is the kicker: There is a number $m'$ such that division by $m$ is the same as multiplication by $m'$. Find that number, and you're basically done.