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?
This is no more than Euler theorem.
$\phi $ is Euler totient function which counts a number of natural numbers that are less than $n$ and relatively prime to $n$. This function is multiplicative so we have $$\phi (91) = \phi (13)\phi(7) = 12\cdot 6 = 72$$
So $$17^{72}+4 \equiv 1+4 = 5 \pmod {91}$$
so remainder when $17^{72}+4 $ is divided by $91$ is $5$