Bouras’s continued fraction contains every prime ending in 1 or 9

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

For every prime p≡1p\equiv1 or 9(mod10)9\pmod{10}, there is an index n≥3n\ge3 at which Bouras’s continued-fraction denominator A363347 equals pp.

What was already known

Mohammed Bouras recorded the prime-occurrence conjecture in 2023. He later gave the algebraic formula for the continued-fraction denominator.

How the result developed

  1. 5 Jun 2026 · Formal checking [1]

    Google DeepMind’s continuous integration build for the pinned release is credited for the reported check (For every prime p≡1p\equiv1 or 9(mod10)9\pmod{10}, there is an index n≥3n\ge3 at which Bouras’s continued-fraction denominator A363347 equals pp).

  2. 8 Jun 2026 · Manuscript date [2]

    George Tsoukalas and colleagues reported the AI-assisted result in this manuscript.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

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

AI involvement

The team selected the OEIS A363347 question, used Gemini to translate it into Lean, and reviewed the translation. The proof is in the project’s archive of problems where successful proofs were discovered by AlphaProof Nexus. The agent used quadratic reciprocity to choose a root of x2≡5(modp)x^2\equiv5\pmod p and proved the associated fraction reduces to denominator pp.

Importance

The proof gives an index for every prime in the two specified residue classes.

Technical verification

Google DeepMind’s Lean build completed successfully for the released proof. Lean checks the reduced numerator of the inner continued fraction, which is the reduced denominator after taking the outer reciprocal. A prime witness must have index at least three.

Formal checking

Google DeepMind’s Lean build completed successfully for the released proof. Lean checks the reduced numerator of the inner continued fraction, which is the reduced denominator after taking the outer reciprocal. A prime witness must have index at least three.

Checker
Google DeepMind’s continuous integration build for the pinned release
Scope
For every prime p≡1p\equiv1 or 9(mod10)9\pmod{10}, there is an index n≥3n\ge3 at which Bouras’s continued-fraction denominator A363347 equals pp.
Basis
Reported by the linked checker
Check date
2026-06-05

Human understanding

The project team reviewed statement fidelity and prior work. A human explanation of the central reasoning in this proof is undocumented.

Other useful sources

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Historical omission audit of the exact AlphaProof Nexus proof.