1

If we have a number of the form $3^{n}-1$, how can we know in general what is the greatest power of $2$ that can divide it if we only know the value of $n$ without having to find the value of $3^{n}-1$?

1 Answers1

1

You can usually use the LTE Lemma for such problems.

Using the notation used by the provided document you get by Theorem 4 (even $n$):

$$v_2(3^n-1^n)=v_2(3-1)+v_2(3+1)+v_2(n)-1=v_2(n)+2$$

So you have to know what is the largest $\alpha$ so that $2^\alpha | n$ (also written as $2^\alpha || n$), hence the largest power of $2$ that divides $3^n-1$ is $\alpha+2$.

For odd $n$ we can use the last equation in the summary, since $\gcd(2,n)=1$:

$$v_2(3^n-1)=v_2(3^n+(-1)^n)=v_2(3+(-1))=v_2(2)=1$$ Hence if $2\nmid n$, $2^1$ is the largest power to divide $3^n-1$. To prove this, you can also look the the factorisation of the expansion and counting how many of powers of $3$ you have (which is odd).

Proofs are also provided in the document.

CryoDrakon
  • 3,392