First of all, the specific values don't matter here, so long as $p=83$ is prime. As such, I'm going to let $a=264$ and $n=245$.
Multiplication of (nonzero) integers modulo a prime $p$ forms a group of order $p-1$, so:
$$
a^{p-1} \equiv 1 \mod p
$$
(This is one multiplication by $a$ away from the usual statement of Fermat's Little Theorem, and so we could have used that fact as well).
So, if we start with the expression $a^{n} \mod p$, we can multiply by $a^{p-1}$ as many times as we wish without changing the value, since it is congruent to the multiplicative identity, $1$. So, we get:
$$
a^{n} \equiv a^{n}(a^{p-1})^k\equiv a^{n + k(p-1)}\mod p
$$
Since $k$ can be anything, this means that $a^n$ is congruent modulo $p$ to all $a^N$, where $N=n+k(p-1)$. The possible values of $N$ are, by definition, the numbers congruent to $n$ modulo $p-1$.