If gcd(a,n)=1\gcd(a, n) = 1gcd(a,n)=1, then by Euler's Totient Theorem, aϕ(n)≡?(modn)a^{\phi(n)} \equiv ? \pmod{n}aϕ(n)≡?(modn).
0
1
a
n