Find the last two digits of $9^{9^{9}}$ 
I want to find the last two digits of $9^{9^9}$ or $9^{81}$. I tried using Euler's theorem but I can't make anything of it. Any hint or a guide? Thanks!

 A: The last two digits of $9^n$ form a repetition cycle of length $10$, starting at $n=0$. So your question is equivalent to finding the remainder of $n\mod10$, where $n=9^9$, which shouldn't be too hard, given that $9=10-1$, so $9^9\mod10=(-1)^9\mod10=-1$, so we are looking for the last element of the afore-mentioned cycle (the first being $1$, for $n=0$), which is $89$.
A: Hint : Reduce the exponent $9^9$ modulo 40
A: [This ought to be a comment on @Lucian’s answer, but I don’t have the 50 requisite points yet for that.  So, here it is as answer.]
Although, mathematically, answers like lab bhattacharjee’s are preferable, because of their generality, for some problems, it’s worth getting your fingers dirty with actual digits and looking at how the power series plays out—what empirical scientists call “making friends with your data”.  
In the case of powers of 9, the cycle of digits is very pretty.  For units, they just alternate between 1 (for even powers of 9) and 9 (for odd powers).  In the tens column, the digits are always even, hitting the lowest first (0), then the highest (8), then the next lowest (2), then the next highest (6), then landing on (4), before reversing the whole pattern:

08264 46280 08264 46280 08264 46280 ...

where the $2n+1$-th zero arises whenever the power of 9 equals 0 (mod 10).
Obviously, then, $9^{9^9} =  9^{81}$ ends in $89$, as $81 \equiv 1$ (mod $10$) and $81 \equiv 1$ (mod $2$).
As said, this way of looking at things has its limitations, but, in this instance, it happens to be rewarding to see what’s going on under the bonnet.
