Saturday, 24 January 2026

Exercise (4.4).4

Find a prime factor of the composite Mersenne number $M_{79}$.

(You will need to be persistent to find a factor of this number.)


We first note that $q=79$ is prime. However $p=2(79)+1=159$ is not prime. 

So we  turn to Propositions (4.23) and (4.24).

Proposition (4.23).  Let $q$ be an odd prime. Any prime factor $p$ of the composite Mersenne $M_q = 2^q− 1$ is of the form $p= 2kq + 1$ where $k$ is an integer.

Proposition (4.24). Let $q$ be an odd prime. Any prime factor $p$ of $M_q = 2^q -1 $ is of the form $p \equiv \pm 1 \pmod 8$. 


The following table shows examples of $p=2k(79)+1$, whether it is prime, and its congruence modulo 8.

kp=2k(79)+1prime?p mod 8
1159no7
2317yes5
3475no3
4633no1
5791no7
6949no5
71107no3
81265no1
91423yes7
101581no5
111739no3
121897no1
132055no7
142213yes5
152371no3
162529no1
172687yes7
182845no5

We can see $p=1423$ is a candidate since it is a prime the form $2kq+1$ and is congruent to -1 modulo 8. However it does not divide $M_{79}$.

We can see another candidate $p=2687$ which his prime, of the form $2qk+1$, and is congruent to -1 modulo 8. This does divide $M_{79}$.

So 2687 is a prime factor of $M_{79}$.