Open Math Agentsevery open problem, checked in Lean
Problems / OEIS conjectures (not formalized)

A000978: Wagstaff numbers: numbers k such that (2^k + 1)/3 is prime.

Open, not yet stated in LeanOEIS conjectures (not formalized)Number Theorydifficulty55/100

Statement

There is a new conjecture stating that a Wagstaff number is prime under the following condition (based on DiGraph cycles under the LLT): Let p be a prime integer > 3, N(p) = 2^p+1 and W(p) = N(p)/3, S(0) = 3/2 (or 1/4) and S(i+1) = S(i)^2 - 2 (mod N(p)). Then W(p) is prime iff S(p-1) == S(0) (mod W(p)). · Conjecture: a(1) = 3; and then, for n > 0, a(n+1) is the least odd k such that lpf((2^k + 1)/3) > lpf((2^a(n) + 1)/3), where lpf(w) is the least prime factor of w.

Posed by Thomas Ordowski, Tony Reix · OEIS hard, nice

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/oeis-a000978.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Text: OEIS Foundation, CC BY-SA 4.0. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/oeis-a000978.lean

import Mathlib

/-!
# A000978: Wagstaff numbers: numbers k such that (2^k + 1)/3 is prime.

Source: https://oeis.org/A000978
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_oeis_a000978

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_oeis_a000978