Wagstaff Prime

DOWNLOAD Mathematica Notebook

A Wagstaff prime is a prime number of the form (2^p+1)/3 for p a prime number. The first few are given by p=3, 5, 7, 11, 13, 17, 19, 23, 31, 43, 61, 79, 101, 127, 167, 191, 199, 313, 347, 701, 1709, 2617, 3539, 5807, 10501, 10691, 11279, 12391, 14479, 42737, 83339, 95369, 117239, 127031, 138937, 141079, 267017, 269987, 374321, 986191, and 4031399 (OEIS A000978), with p=83339 and larger corresponding to probable primes. These values p correspond to the primes p_n with indices n=2, 3, 4, 5, 6, 7, 8, 9, 11, 14, 18, 22, 26, ... (OEIS A123176).

The Wagstaff primes are featured in the new Mersenne prime conjecture.

There is no simple primality test analogous to the Lucas-Lehmer test for Wagstaff primes, so all recent primality proofs of Wagstaff primes have used elliptic curve primality proving.

A Wagstaff prime can also be interpreted as a repunit prime of base -2, as

 ((-2)^p-1)/(-2-1)=(2^p+1)/3

if p is odd, as it must be for the above number to be prime.

Some of the largest known Wagstaff probable primes are summarized in the following table, with the largest two being the largest two known probable primes as of Sep. 2013 (Propper 2013; Lifchitz and Lifchitz) but not necessarily the sequentially next primes after p=4031399.

pdecimal digitsdiscoverer
374321112682H. R. Lifchitz (Dec. 2000)
986191296873V. Diepeveen (Jun. 2008)
40313991213572T. Reix et al. (Feb. 2010)
133473114017941R. Propper (Sep. 2013)
133725314025533R. Propper (Sep. 2013)

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.