Find the last two digit of $3^{3^{100}}$.
I know how to calculate if I have $3^{100}$. That I will use euler's theorem. which gives me $3^{40}\equiv 1 \pmod{100}$. And so on... but if I have $3^{3^{100}}$ what should I do?
I Tried:
Infact, i need $3^{3^{100}}\equiv x\pmod{ 100}$
For this, I need $3^{100}\equiv y\pmod{\phi{(100)}}$
So i got $y=1$ by using eulers thorem for the abouve cogruence.
That is $(3,40)=1\implies 3^{16}\equiv 1\pmod{40}$
So, i got $(3^{16})^63^4\equiv 1\pmod{40}$
Using this in first congruence i got $3^1\equiv 3\pmod{100}$.
So, the answer is $03$. Is it correct?
I did't use chinese remainder theorem and all. Is there any mistake in my arguments?