A divisibility test for primes with primitive root 2

Let a(j)=2j−1∏i=1j−1(2i−1)/j!a(j)=2^{j-1}\prod_{i=1}^{j-1}(2^i-1)/j!. A primitive root modulo a prime nn generates all the nonzero residue classes by taking its powers. For n>2n>2, does n∣a(n−1)+2n−2n\mid a(n-1)+2^{n-2} force nn to be prime with primitive root 2?

Why it matters and what counts as progress

Why it matters: The condition tests both primality and the order of 2 using a single factorial-product congruence.

What counts as progress: Prove the converse to the known sufficient condition, or construct a composite or nonprimitive prime that passes the test.

How the problem developed

  1. 19 Jan 2020 · Conjecture [1]

    Amiram Eldar and Thomas Ordowski Amiram Eldar and Thomas Ordowski recorded that primes with primitive root 2 pass the test. They conjectured the converse in 2020.

  2. 24 May 2026 · Lean proof [2][1]

    Google DeepMind’s AlphaProof Nexus Let a(j)=2j−1∏i=1j−1(2i−1)/j!a(j)=2^{j-1}\prod_{i=1}^{j-1}(2^i-1)/j! for j≥1j\ge1. If an integer n>2n>2 divides a(n−1)+2n−2a(n-1)+2^{n-2}, then nn is prime and 2 has multiplicative order n−1n-1 modulo nn.

  3. August 2026 · Later AI proof [4]

    Tom Adamczewski’s OEIS Open evaluation The evaluation reports another machine-checked proof of this statement.

Follow new AI contributions to this problem.

Get email updates

Download problem history

AI contribution

A factorial-product divisibility criterion for primes with primitive root 2

George Tsoukalas, Anton Kovsharov, Sergey Shirobokov, Anja Surina, Moritz Firsching, Gergely Bérczi, Francisco J. R. Ruiz, Arun Suggala, Adam Zsolt Wagner, Eric Wieser, Lei Yu, Aja Huang, Miklós Z. Horváth, Andrew Ferraiuolo, Henryk Michalewski, Edward Lockhart, Codrut Grosu, Thomas Hubert, Matej Balog, Pushmeet Kohli, Swarat Chaudhuri

Let a(j)=2j−1∏i=1j−1(2i−1)/j!a(j)=2^{j-1}\prod_{i=1}^{j-1}(2^i-1)/j! for j≥1j\ge1. If an integer n>2n>2 divides a(n−1)+2n−2a(n-1)+2^{n-2}, then nn is prime and 2 has multiplicative order n−1n-1 modulo nn. The proof compares prime exponents in the product and factorial to rule out composites with an odd prime factor. It handles powers of two separately and uses the order of 2 to exclude the remaining primes.

AI involvementAI-autonomous
ImportanceModest
Technical verificationFormal (Lean)
Human understandingFew
Paper date:

Sources

  1. OEIS A091669 and its conjecture history
  2. A091669 theorem and Lean proof
  3. Advancing Mathematics Research with AI-Driven Formal Proof Search
  4. OEIS Open, Appendix A
  5. AlphaProof Nexus results and proof attribution
  6. AlphaProof Nexus proof validation
Publication history