I want to use Euler's theorem to calculate the following:
$14^{(2019^{2019})} \mod 60$
$a^{\phi(n)} \equiv 1 \mod n \iff \gcd(a,n) = 1$
Now I start with the outer one first:
$14^{(2019)}\mod 60 \iff \gcd(14,60) = 2$
Now I don't know how can I solve it ...
Can anyone suggest me any hints/further calculations?
Thank you in advance,
Kind Regards.