Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 726

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

As n→∞n\to \infty ranges over integers ∑p≤n1n∈(p/2,p)(modp)1p∼log⁡log⁡n2\sum_{p\leq n}1_{n\in (p/2,p)\pmod{p}}\frac{1}{p}\sim \frac{\log\log n}{2}?

A conjecture of Erdős, Graham, Ruzsa, and Straus [EGRS75].

By n∈(p/2,p)(modp)n\in (p/2,p)\pmod{p} we mean n≡r(modp)n\equiv r\pmod{p} for some integer rr with p/2<r<pp/2<r<p. The remainder n % p is computed in ℕ before casting to ℝ.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.03017 [math.NT] · NS.03017v1 for this version
Declaration:Erdos726.erdos_726
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:4f4a11a3fd99507a153da92b998b6313f16d606ebd37d74e73dfac4ee738db90
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/726.lean

Formal statement

theorem erdos_726 :
    (fun n : ℕ ↦ ∑ p ∈ (range (n + 1)).filter
        (fun p : ℕ ↦ p.Prime ∧ (p : ℝ) / 2 < ((n % p : ℕ) : ℝ)),
      (1 : ℝ) / (p : ℝ))
    ~[atTop] (fun n : ℕ ↦ Real.log (Real.log (n : ℝ)) / 2)
Show the full Challenge.lean (65 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 726

*References:*
- [erdosproblems.com/726](https://www.erdosproblems.com/726)
- [EGRS75] Erdős, P., and Graham, R. L. and Ruzsa, I. Z. and Straus, E. G., On the prime factors of
  $(\sp{2n}\sb{n})$. Math. Comp. (1975), 83-92.
-/

@[expose] public section

open Nat Filter Finset
open scoped Topology Asymptotics

namespace Erdos726

/--
As $n\to \infty$ ranges over integers
$\sum_{p\leq n}1_{n\in (p/2,p)\pmod{p}}\frac{1}{p}\sim \frac{\log\log n}{2}$?

A conjecture of Erdős, Graham, Ruzsa, and Straus [EGRS75].

By $n\in (p/2,p)\pmod{p}$ we mean $n\equiv r\pmod{p}$ for some integer $r$ with $p/2<r<p$.
The remainder `n % p` is computed in `ℕ` before casting to `ℝ`.
-/
@[category research open, question, AMS 11]
theorem erdos_726 :
    (fun n : ℕ ↦ ∑ p ∈ (range (n + 1)).filter
        (fun p : ℕ ↦ p.Prime ∧ (p : ℝ) / 2 < ((n % p : ℕ) : ℝ)),
      (1 : ℝ) / (p : ℝ))
    ~[atTop] (fun n : ℕ ↦ Real.log (Real.log (n : ℝ)) / 2) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
The classical estimate of Mertens states that $\sum_{p\leq n}\frac{1}{p}\sim \log\log n$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at
  "https://github.com/linrock/math-proofs/blob/74888affffcf320d798f78a2fb45d13c86704d89/erdos-726/Solution.lean#L36"]
theorem erdos_726.variants.mertens_estimate :
    (fun n : ℕ ↦ ∑ p ∈ (range (n + 1)).filter (fun p ↦ p.Prime), (1 : ℝ) / ((p : ℕ) : ℝ))
    ~[atTop] (fun n : ℕ ↦ Real.log (Real.log (n : ℝ))) := by
  sorry

end Erdos726

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos726.erdos_726 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_726 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-726
nosorry submit erdos-726 nosorry/erdos-726/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.