help with this excercises.
Find the residue to divide $2^{3^{2011}}$ between $17$
I try:
$$3^3 \equiv 10(mod\ 17)$$ $$3^{10} \equiv 8(mod\ 17)$$ $$3^{120} \equiv -1(mod\ 17)$$ $$3^{2011} \equiv 7(mod\ 17)$$
Then
$$2^{3^{2011}}=2^7*2^{17k}, k\in \mathbb{Z}$$
- $2^{16}\equiv1(mod\ 17)$
then??
Other way?