I was a bit surprised to see this question in an old abstract algebra test paper:
Prove that if $a$ and $n$ are two integers then such that $\text{gcd}(a,n)=1$ then $a^{\phi(n)}-1$ is divisible by $n$. Hence, show that the remainder is $5$ when $17^{72}+4$ is divided by $91$.
Firstly, I'm a bit confused by what $\phi(n)$ means in this context. Pretty sure it doesn't mean "any random function of $n$". Perhaps it refers to the Euler-phi function (?) Also, I'm not sure how the second statement follows from that. Any idea about what the question is trying to convey, and how to approach the problem?