Wieferich Prime

DOWNLOAD Mathematica Notebook

A Wieferich prime is a prime p which is a solution to the congruence equation

 2^(p-1)=1 (mod p^2).
(1)

Note the similarity of this expression to the special case of Fermat's little theorem

 2^(p-1)=1 (mod p),
(2)

which holds for all odd primes. The first few Wieferich primes are 1093, 3511, ... (OEIS A001220), with none other less than 4×10^(12) (Lehmer 1981, Crandall 1986, Crandall et al. 1997), a limit since increased to 1.25×10^(15) (McIntosh 2004) and subsequently to 4.968543×10^(17) by PrimeGrid as of November 2015.

Interestingly, one less than these numbers have suggestive periodic binary representations

1092=10001000100_2
(3)
3510=110110110110_2
(4)

(Johnson 1977).

If the first case of Fermat's last theorem is false for exponent p, then p must be a Wieferich prime (Wieferich 1909). If p|2^n+/-1 with p and n relatively prime, then p is a Wieferich prime iff p^2 also divides 2^n+/-1. The conjecture that there are no three consecutive powerful numbers implies that there are infinitely many non-Wieferich primes (Granville 1986; Ribenboim 1996, p. 341; Vardi 1991). In addition, the abc conjecture implies that there are at least Clnx non-Wieferich primes <=x for some constant C (Silverman 1988, Vardi 1991).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.