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 884

Source:Erdős Problems · erdosproblems.com/884
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

For a natural number n, let 1=d1<…<dτ(n)=n1 = d_1 < \dotsc < d_{\tau(n)} = n denote the divisors of nn in increasing order. Does it hold that $\sum_{1 \le i < j \le \tau(n)} \frac{1}{d_j - d_i} \ll 1 + \sum_{1 \le i < \tau(n)} \frac{1}{d_{i + 1} - d_i}$ for n→∞n \to \infty, i.e. $\sum_{1 \le i < j \le \tau(n)} \frac{1}{d_j - d_i} \in O \left( 1 + \sum_{1 \le i < \tau(n)} \frac{1}{d_{i + 1} - d_i} \right)$?

This conjecture has been disproved:

  • In September 2025, Terence Tao gave a conditional negative answer assuming the prime tuples conjecture, see erdos_884_false_of_hardy_littlewood for this implication.
  • Daniel Larsen subsequently gave an unconditional disproof.

Reference: erdosproblems.com/884

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

Formal statement

theorem erdos_884 :
    ¬ Erdos884Prop
Show the full Challenge.lean (111 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 884

*References:*
- [erdosproblems.com/884](https://www.erdosproblems.com/884)
- [Tao25](https://terrytao.wordpress.com/wp-content/uploads/2025/09/erdos-884.pdf)
- [Larsen](https://github.com/Larsen-Daniel/Erdos-884/blob/main/884.pdf)
-/

@[expose] public section

namespace Erdos884

/--
The sum $\sum_{1 \le i < j \le \tau(n)} \frac{1}{d_j - d_i}$ over all pairs of
divisors $d_i < d_j$ of $n$.
-/
noncomputable abbrev sumDivisorInvPairwiseDifference (n : ℕ) : ℝ :=
    ∑ j : Fin n.divisors.card, ∑ i : Fin  j,
    (1 : ℚ) / (Nat.nth (· ∣ n) j - Nat.nth (· ∣ n) i )

/--
The sum $\sum_{1 \le i < \tau(n)} \frac{1}{d_{i + 1} - d_i}$ over consecutive
divisors of $n$.
-/
noncomputable abbrev sumDivisorInvConsecutiveDifference (n : ℕ) : ℝ :=
    ∑ i : Fin (n.divisors.card - 1),
    (1 : ℚ) / (Nat.nth (· ∣ n) (i + 1) - Nat.nth (· ∣ n) i)

/--
For a natural number n, let $1 = d_1 < \dotsc < d_{\tau(n)} = n$ denote the divisors of $n$
in increasing order.
Does it hold that
$\sum_{1 \le i < j \le \tau(n)} \frac{1}{d_j - d_i} \ll 1 + \sum_{1 \le i < \tau(n)}
 \frac{1}{d_{i + 1} - d_i}$
for $n \to \infty$, i.e.
$\sum_{1 \le i < j \le \tau(n)} \frac{1}{d_j - d_i} \in O \left( 1 + \sum_{1 \le i < \tau(n)}
 \frac{1}{d_{i + 1} - d_i} \right)$?

This conjecture has been **disproved**:
- In September 2025, Terence Tao gave a conditional _negative_ answer assuming the prime tuples
  conjecture, see `erdos_884_false_of_hardy_littlewood` for this implication.
- Daniel Larsen subsequently gave an unconditional disproof.
-/
def Erdos884Prop : Prop :=
    sumDivisorInvPairwiseDifference ≪ 1 + sumDivisorInvConsecutiveDifference

set_option linter.style.formal_proof_palomar false in
/--
For a natural number n, let $1 = d_1 < \dotsc < d_{\tau(n)} = n$ denote the divisors of $n$
in increasing order.
Does it hold that
$\sum_{1 \le i < j \le \tau(n)} \frac{1}{d_j - d_i} \ll 1 + \sum_{1 \le i < \tau(n)}
 \frac{1}{d_{i + 1} - d_i}$
for $n \to \infty$, i.e.
$\sum_{1 \le i < j \le \tau(n)} \frac{1}{d_j - d_i} \in O \left( 1 + \sum_{1 \le i < \tau(n)}
 \frac{1}{d_{i + 1} - d_i} \right)$?

This conjecture has been **disproved**:
- In September 2025, Terence Tao gave a conditional _negative_ answer assuming the prime tuples
  conjecture, see `erdos_884_false_of_hardy_littlewood` for this implication.
- Daniel Larsen subsequently gave an
  [unconditional disproof](https://github.com/Larsen-Daniel/Erdos-884/blob/main/884.pdf).

*Reference:* [erdosproblems.com/884](https://www.erdosproblems.com/884)
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/Jayyhk/erdos-lean/blob/f8a51976fd2e66a52b4928c109fb9ae877a1a507/problems/884/Erdos884.lean"]
theorem erdos_884 :
    ¬ Erdos884Prop := by
  sorry

/--
In September 2025, Terence Tao gave a conditional _negative_ answer to Erdős problem 884,
disproving it under the assumption of the *qualitative Hardy–Littlewood prime tuples
conjecture*, see Conjecture 1.1 and Theorem 1.1 of
[Tao25](https://terrytao.wordpress.com/wp-content/uploads/2025/09/erdos-884.pdf).

The qualitative conjecture states that for every admissible tuple $(h_1, \dotsc, h_k)$ of
integers, i.e. one which avoids at least one residue class modulo $p$ for every prime $p$,
there are infinitely many natural numbers $n$ such that $n + h_1, \dotsc, n + h_k$ are all
prime. Unlike the full Hardy–Littlewood conjecture, it does not give an asymptotic for the
number of such $n$.
-/
@[category research solved, AMS 11]
theorem erdos_884_false_of_hardy_littlewood
    (hHL : ∀ H : Finset ℤ, (∀ p : ℕ, p.Prime → ∃ a : ℤ, ∀ h ∈ H, ¬ (p : ℤ) ∣ a + h) →
      {n : ℕ | ∀ h ∈ H, Prime ((n : ℤ) + h)}.Infinite) :
    ¬Erdos884Prop := by
  sorry

end Erdos884

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

nosorry fetch erdos-884
nosorry submit erdos-884 nosorry/erdos-884/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.