Highest power of two that divided $3^{1024}-1$
I did from binomial and expansion but is there a smarter way ?
My approach : $ 3^{1024}-1 $ can be $(3^{512} + 1)$ and $(3^{512} – 1)$
Again$ ( 3^{512} – 1 )$ is written as $( 3^{256} + 1 )$ and $( 3^{256} – 1)$ Again $( 3^{256} – 1 ) $is written as $( 3^{128} + 1 )$ and $( 3^{128} – 1)$ Again $( 3 ^{128} – 1 )$ is written as $( 3^{64} + 1 )$ and $( 3^{64} – 1)$ Again $( 3^{64} – 1 )$ is written as $( 3^{32} + 1 )$ and $( 3^{32} – 1)$ Again $( 3^{32} – 1 )$ is written as $( 3^{16}+ 1 )$ and $( 3^{16} – 1)$ Again $( 3^{16}– 1 )$ is written as $( 3^{8}+ 1 )$ and $( 3^{8} – 1)$ Again $( 3^(8) – 1 )$ is written as $( 3^{4} + 1 )$ and $( 3^{4}– 1)$ Again $( 3^{4}– 1)$ is written as $(3^{2} + 1)$ and $( 3^{2} – 1)$ Again $( 3^{2} – 1)$ is written as $( 3^{1} + 1 )$ and $( 3^{1} – 1)$ or$ 2^(2) $and$ 2^(1)$
Now it can be observed that each of $( 3^{512} + 1), ( 3^{256} + 1) , ( 3^{128} + 1) , ( 3^{64} + 1) , ( 3^{32} + 1) , (3^{16} + 1) , (3^{8} + 1) , (3^{4} + 1) and ( 3^{2} + 1$is divisible by 2 not $ 2^{2}$. In other words, maximum power of 2 that can divided each of $( 3^{512}+ 1), ( 3^{256}+ 1) , ( 3^{128} + 1) , ( 3^{64}+ 1) , ( 3^{32} + 1) , (3^{16} + 1) , (3^{8} + 1) , (3^{4} + 1) and ( 3^{2} + 1)$ is 1. As they are total 9 terms hence expression is divisible by 2^9 and rest two terms 2^2 and 2^1 will be divisible by 2^3. Hence, maximum power of 2 that can divide 3^(1024) – 1 is 12. $