0

Let $m,n\in \mathbb{N}$. Prove that if $\gcd(2^m+1,2^n-1)=1$, then $\gcd(2^m+1,2^{3n}-1)=1$. It is equivalent to proving that if $\gcd(2^m+1,2^n-1)=1$, then $\gcd(2^m+1,2^{2n}+2^n+1)=1$.

I have verified the above question for $1\leq m,n \leq 8000$ by Matlab. Let $i, j$ be positive integers. I know that if $i$ is odd, then $\gcd(2^j+1,2^i-1)=1$. Therefore, considering the above question, we need to shou that if $n$ is even and $\gcd(2^m+1,2^n-1)=1$, then $\gcd(2^m+1,2^{3n}-1)=1$. However, I have not find an effective method to solve the above question. I know that $\gcd(a,b)=1$ if and only if there exists integers $x$ and $y$ such that $ax+by=1$.

  • Welcome! Cool question, beware when using the word "shown", it is a strong word. Also, what do you mean with $1 \leq m$? That's a lot of $m$'s! Latex tip: use \geq and \leq for inequalities. You are invited to edit your question as you see fit. – Villa Jan 25 '25 at 01:26
  • 5
    Reposts are not allowed. Edit the original question and address the concerns. I see you did that already, so just wait for the reopen votes. Delete this question, please. – Martin Brandenburg Jan 25 '25 at 03:35
  • 3
    It's great that you're making edits to improve the question, but it's still a repost of your other question. – Dylan Jan 25 '25 at 05:43
  • 1
    Apparently the OP did the other way round now, the original post is deleted. Should be OK for now, but next time please don't do that. I vote to reopen. – Martin Brandenburg Jan 25 '25 at 14:11

1 Answers1

3

We will use that $$ \gcd(2^a - 1, 2^b - 1) = 2^{\gcd(a, b)} - 1 $$ for all non-negative integers $a$ and $b$. See, for example, this question: Prove that $\gcd(a^n - 1, a^m - 1) = a^{\gcd(n, m)} - 1$

Since $\gcd(2^m + 1, 2^n - 1) = 1$, we have that $\gcd(2^{2m} - 1, 2^n - 1) = \gcd(2^m - 1, 2^n - 1)$, and so it follows that $$ 2^{\gcd(2m, n)} - 1 = 2^{\gcd(m, n)} - 1 $$ which implies that $\gcd(2m, n) = \gcd(m, n)$. This implies that the largest power of $2$ that divides $m$ is at least as large as the largest power of $2$ that divides $n$. Since $3$ is odd, the same is true for the largest powers of $2$ that divide $m$ and $3n$ respectively, and so it follows that $\gcd(2m, 3n) = \gcd(m, 3n)$, which gives us that $$ \gcd(2^{2m} - 1, 2^{3n} - 1) = 2^{\gcd(2m, 3n)} - 1 = 2^{\gcd(m, 3n)} - 1 = \gcd(2^{m} - 1, 2^{3n} - 1). $$ Since $\gcd(2^m - 1, 2^m + 1) = 1$, we know that $$ \gcd(2^{2m} - 1, 2^{3n} - 1) = \gcd(2^m - 1, 2^{3n} - 1) \cdot \gcd(2^m + 1, 2^{3n} - 1) $$ and so combining the above observations we obtain that $$ \gcd(2^m + 1, 2^{3n} - 1) = 1. $$

Dylan
  • 7,591