I've got a task: Find highest power of 2 that divides $3^{2^k}-1$ so i wrote few terms and guessed that it's $2^{k+2}$, now i should show it. I tried by induction, but what i got appeals to me as a total nonsense, but i'm new to modular arithmetic, so i might be wrong!
I tried by induction, but i really failed here and turned out i showed that $$3^{2^{2k+1}} \equiv 1 (mod \ 2^{k+2})$$, so that isn't helpful.
I tried to work with eulers theorem and i got $$3^{\varphi(2^{k+2})} \equiv 1 (mod \ 2^{k+2}) \Leftrightarrow 3^{2^{k+1}} \equiv 1 (mod \ 2^{k+2})$$ but i wanted to show $$3^{2^k} \equiv 1 (mod \ 2^{k+2})$$
I'd really love to get some hints! Cheers
(This is not much more than a reformulation of Nishant's comment). Let $v_2(n)$ denote the highest power of $2$ dividing $n$, so $2^{v(n)}\mid n$ and $2^{v(n)+1}\not\mid n$. Then
With this, you can show your conjecture $$v(3^{2^k}-1)=k+2$$ by induction for $k\ge1$. (Warning: For $k=0$, we have $v(3^{2^k}-1)=k+1$).