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?
Write it as $$2^{3^2.3^{2009}} = 512^{3^{2009}} = (510+2)^{3^{2009}}$$ 510 is divisible by 17. Now use binomial expansion. All terms except the last one, i.e. $2^{3^{2009}}$ will be divisible by 17. So the problem reduces to finding the remainder when $2^{3^{2009}}$ is divided by 17.
Again do the same process, until you reach $2^{3^1}$ = 8
Hence remainder is 8.