We want to find the minimum natural number that satisfies the equation
$2^{100} \equiv x \bmod 9$
Textbook says: We observe that $2^{3} \equiv 8 \equiv -1\bmod 9$
After that it simply breaks down $2^{100} $ until it reaches the desired form
$(2^3)^{33}2 \equiv (-1)^{33}2 \equiv -2 \equiv x\bmod 9 $
My question is, how did he thought the first step? Why for example chose to break it with $2^3$ and not something else, like $2^4$ for example? Im new to modulo concepts and find it quite confusing