How do I use Euler's theorem to evaluate (3^(1117^(8^25)) + 20210825) mod 163 ?

I have no idea on how to reduce the nested exponents

1 Answer

My understanding is that you wish to reduce $3^{1117^{8^{25}}}$ modulo $163$.

I have attempted a full written solution, but it will be long. I suggest adding a bounty for this as it is time-consuming.

Join Matchmaticians Affiliate Marketing Program to earn up to a 50% commission on every question that your affiliated users ask or answer.