-1

Let $p$ and $q$ be prime numbers such that $2^p$$-1$ is a multiple of $q$. Prove that $q>p$.

I began by noticing that the equation $2^p$$-1$ can be modified to fit Fermat's Little Theorem. I am pretty sure that this is when $a^{p-1}≡1($mod$p)$.

However, I am stuck here. I have no idea how to progress and solve this question. The only thing I can do is that $2^p$$1$ mod$q$.

If anyone can help me solve this question. I would appreciate it. Thank you very much!

Bill Dubuque
  • 282,220
Tnol
  • 825

1 Answers1

1

We can use Fermat's Little Theorem to say that $a^{q-1} \equiv 1 \pmod q$. Now since $q$ is a prime that divides $2^p-1$, we can set $a$ equal to $2$ to obtain $2^{q-1} \equiv 1 \pmod q$.

Now I claim that the order of 2 modulo $q$ is the smallest positive integer $d$ such that $2^d \equiv 1 \pmod q$. And since $2^p \equiv 1 \pmod q$, we know that d divides p. Moreover, since $2^{q-1} \equiv 1 \pmod q$, we know that the order $d$ also divides $q-1$.

Okay, so now let's consider the two cases for $d$. Either $d=p$ or $d < p$.

If $d=p$, then $p$ divides $q-1$. And since $p$ is a prime that divides $q-1$, and $q-1<q$, this implies that $q>p$.

But if $d < p$, then $d$ is a divisor of $p$. Since $p$ is prime, this means that $d=1$. Notice now that this gives us the statement $2^1 \equiv 1 \pmod q$, which is NOT TRUE. By way of contradiction, this means that $d=p$. And then $d=p \implies p \leq q-1 \implies p < q$, so we're done.

HLDN
  • 64
  • Very good answer. Thank you very much! (+1) – Tnol Sep 02 '24 at 06:50
  • Oh just a question: You claim that the order of 2 modulo q is the smallest positive integer d such that... How do you come to that claim? Or in other words: How were you able to think of this? – Tnol Sep 02 '24 at 06:51
  • Please strive not to post more (dupe) answers to dupes of FAQs. This is enforced site policy, see here. – Bill Dubuque Sep 02 '24 at 07:10
  • @BillDubuque Hello, this is my first week on Stack Exchange. Sorry, I was not aware of this - I just saw a question I knew the answer to, and I answered it. Just to be clear - if I want to answer a question, am I required to take the time to peruse the site and see if a question has been asked already before answering it? – HLDN Sep 07 '24 at 06:43