I have to prove that $5^{2^n}−1$ contains exactly $n+2$ factors $2$ and then I have to show that the order of $5$ in $(\mathbb{Z}/2^n\mathbb{Z})^*$ equals $2^{n−2}$ (for $n ≥ 2$).
I know that for the first part I can use $5^{2^{n+1}} −1 = (5^{2^{n}} −1)(5^{2^{n}} +1)$, but then I do not know to continue.