Modular Arithmetic with Multiple Exponents I understand how to do modular arithmetic on numbers with large exponents (like $8^{202}$). However, I am having trouble understanding how to calculate something like:
$ 3^{3^{3^{3^3}}}$ mod 5
(that's 5 3's there). Can anyone help me understand how to get this started?

When dealing with tetration, numbers really go out of hand...
I've never seen modular arithmetic operated on tetrated numbers..
$$3\uparrow\uparrow1 = 3^1$$ mod 5 on this yields 3
$$3\uparrow\uparrow2 = 3^3$$ mod 5 on this yields a 2
$$3\uparrow\uparrow3 = 3^{(3^3)} = 3^{27}$$ mod 5 on this (Online calc) yields a two as well.
Problem is, calculators (Atleast the ones available online), aren't able to calculate after this.
You're asking  $$(3\uparrow\uparrow5) mod (5) = 3^{3^{3^{3^3}}} mod (5) $$
This may be of interest...https://zbmath.org/?q=an:0535.03018&format=complete http://www.sciencedirect.com/science/article/pii/0898122183901141 
You can also look at http://en.wikipedia.org/wiki/Euler%27s_totient_function;  http://math.eretrandre.org/tetrationforum/showthread.php?tid=45 for some ideas.
I'm not much into Mod arithmetic; but the two articles I've provided may be of some help, as they directly deal with your doubts... 
PS: Good question! Definite thumbs up.
