2
$\begingroup$

Wieferich prime is a prime number $p$ such that $p^2$ divides $2^{p - 1} - 1$.

There are only two Wieferich primes known and it is an open problem if there are infinitely many non-Wieferich primes.

Mersenne numbers are $M_n=2^n-1$.

When is a prime factor of Mersenne number Wieferich prime?

Wikipedia claims

A prime divisor $p$ of $M_q$, where $q$ is prime, is a Wieferich prime if and only if $p^2$ divides $M_q$.

Wikipedia reference doesn't appear to work, but we found it in paper:

link PRIME POWER DIVISORS OF MERSENNE NUMBERS AND WIEFERICH PRIMES OF HIGHER ORDER, Ladislav Skula

Confusion is possible, but we believe that Wikipedia's claim implies infinitely many non-Wieferich primes.

Assume the set of non-Wieferich primes is finite and let $P$ their product.

Then for all primes $q$, $M_q=d u$ where $d$ is divisor of $P$ and $u$ is product of powers of Wieferich primes with exponents at least $2$.

If all exponents are $2$, this implies that the squarefree free part of $M_q$ is bounded, which is easily shown to be impossible e.g. see this queston

What is wrong with this argument?

$\endgroup$
5
  • 1
    $\begingroup$ A Wieferich prime can contribute to the squarefree part. For example, one can have $p^3\mid M_q$ but $p^4\nmid M_q$, then $d$ is divisible by $p$ and cannot be a divisor of $P$. $\endgroup$ Commented May 28, 2021 at 10:31
  • $\begingroup$ I tried following the reference from Wikipedia and ended up here, which only proves one implication (that square factors are Wieferich), while you need the converse implication. $\endgroup$
    – Wojowu
    Commented May 28, 2021 at 10:38
  • $\begingroup$ @Wojowu Thanks. Currently I don't have better source to cite and Wikipedia has wrong stuff. $\endgroup$
    – joro
    Commented May 28, 2021 at 11:06
  • $\begingroup$ @AsymptotiacK Thanks. You are right. $\endgroup$
    – joro
    Commented May 28, 2021 at 11:58
  • $\begingroup$ @Wojowu I found the claim in a paper and edited. $\endgroup$
    – joro
    Commented May 31, 2021 at 14:15

2 Answers 2

5
$\begingroup$

First, every odd prime divides some Mersenne number. (In fact, every odd integer divides infinitely many Mersenne numbers.) So that is no restriction at all.

Second, the claim from Wikipedia is correct, for the reasons given in CHUAKS answer. We can improve the Wikipedia claim to the following equivalence: A prime $p$ is Wieferich if and only if $p^2|(2^{{\rm ord}_p(2)}-1)$. Here ${\rm ord}_p(2)$ is the order of $2$ modulo $p$, and it is a divisor of $p-1$. (Generally, it is not necessarily prime.)

Third, Wieferich primes can potentially occur to odd exponents in $M_q$, as pointed out by Alexander Kalmynin, which is why your argument breaks.

$\endgroup$
0
4
$\begingroup$

The first question has an answer. If $p$ is an odd prime, $p \nmid a$ and $p \mid (a^n-1)$, then $p$ is Wieferich to the base $a$ if and only if $\nu_p(a^n-1) \ge \nu_p(n)+2$ which follows from an identity :

$\nu_p(a^n-1)=\nu_p(n)+\nu_p(a^{p-1}-1),$

which is (1.1) in https://arxiv.org/abs/2112.04173.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .