I am working on a practice problem right now for my number theory class, where I have to find $101^{{101}^{99}} \pmod{7}$. My professor gave us the hint to reduce the first exponent, $101^{99}$, modulo 6. Which is what I did, and found that $101^{99} \pmod{6}\equiv -1$.
From here, I'm not sure where to go. I've been told to use Fermat's Little Theorem, but I feel like I am just not seeing how this is all tying together, or why reducing $101^{99} \pmod{6}$ is useful to me.
Any help is appreciated!