Define the sequences $a_1, a_2,...$ and $*b_1, b_2,...*$ by $a_1 = b_1 = 7$ and $$a_{n+1} = {a_n}^7, \\ b_{n+1} = 7^{b_n}$$ for $n\ge 1$.
Find the last digits of $a_{2009}$, and of $b_{2009}$. What about the last two digits or more?
I know the order of 7 mod 100 is 4. Im not sure if that helps but how will we work this out?