{
  "id": "3509",
  "ident": "NS.03509",
  "slug": "erdos-884",
  "title": "Erdős Problem 884",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "For a natural number n, let $1 = d_1 < \\dotsc < d_{\\tau(n)} = n$ denote the divisors of $n$\nin increasing order.\nDoes it hold that\n$\\sum_{1 \\le i < j \\le \\tau(n)} \\frac{1}{d_j - d_i} \\ll 1 + \\sum_{1 \\le i < \\tau(n)}\n \\frac{1}{d_{i + 1} - d_i}$\nfor $n \\to \\infty$, i.e.\n$\\sum_{1 \\le i < j \\le \\tau(n)} \\frac{1}{d_j - d_i} \\in O \\left( 1 + \\sum_{1 \\le i < \\tau(n)}\n \\frac{1}{d_{i + 1} - d_i} \\right)$?\n\nThis conjecture has been **disproved**:\n- In September 2025, Terence Tao gave a conditional _negative_ answer assuming the prime tuples\n  conjecture, see `erdos_884_false_of_hardy_littlewood` for this implication.\n- Daniel Larsen subsequently gave an\n  [unconditional disproof](https://github.com/Larsen-Daniel/Erdos-884/blob/main/884.pdf).\n\n*Reference:* [erdosproblems.com/884](https://www.erdosproblems.com/884)",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/884",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos884.erdos_884",
  "statement_lean": "theorem erdos_884 :\n    ¬ Erdos884Prop",
  "challenge_source": "/-\nCopyright 2025 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 884\n\n*References:*\n- [erdosproblems.com/884](https://www.erdosproblems.com/884)\n- [Tao25](https://terrytao.wordpress.com/wp-content/uploads/2025/09/erdos-884.pdf)\n- [Larsen](https://github.com/Larsen-Daniel/Erdos-884/blob/main/884.pdf)\n-/\n\n@[expose] public section\n\nnamespace Erdos884\n\n/--\nThe sum $\\sum_{1 \\le i < j \\le \\tau(n)} \\frac{1}{d_j - d_i}$ over all pairs of\ndivisors $d_i < d_j$ of $n$.\n-/\nnoncomputable abbrev sumDivisorInvPairwiseDifference (n : ℕ) : ℝ :=\n    ∑ j : Fin n.divisors.card, ∑ i : Fin  j,\n    (1 : ℚ) / (Nat.nth (· ∣ n) j - Nat.nth (· ∣ n) i )\n\n/--\nThe sum $\\sum_{1 \\le i < \\tau(n)} \\frac{1}{d_{i + 1} - d_i}$ over consecutive\ndivisors of $n$.\n-/\nnoncomputable abbrev sumDivisorInvConsecutiveDifference (n : ℕ) : ℝ :=\n    ∑ i : Fin (n.divisors.card - 1),\n    (1 : ℚ) / (Nat.nth (· ∣ n) (i + 1) - Nat.nth (· ∣ n) i)\n\n/--\nFor a natural number n, let $1 = d_1 < \\dotsc < d_{\\tau(n)} = n$ denote the divisors of $n$\nin increasing order.\nDoes it hold that\n$\\sum_{1 \\le i < j \\le \\tau(n)} \\frac{1}{d_j - d_i} \\ll 1 + \\sum_{1 \\le i < \\tau(n)}\n \\frac{1}{d_{i + 1} - d_i}$\nfor $n \\to \\infty$, i.e.\n$\\sum_{1 \\le i < j \\le \\tau(n)} \\frac{1}{d_j - d_i} \\in O \\left( 1 + \\sum_{1 \\le i < \\tau(n)}\n \\frac{1}{d_{i + 1} - d_i} \\right)$?\n\nThis conjecture has been **disproved**:\n- In September 2025, Terence Tao gave a conditional _negative_ answer assuming the prime tuples\n  conjecture, see `erdos_884_false_of_hardy_littlewood` for this implication.\n- Daniel Larsen subsequently gave an unconditional disproof.\n-/\ndef Erdos884Prop : Prop :=\n    sumDivisorInvPairwiseDifference ≪ 1 + sumDivisorInvConsecutiveDifference\n\nset_option linter.style.formal_proof_palomar false in\n/--\nFor a natural number n, let $1 = d_1 < \\dotsc < d_{\\tau(n)} = n$ denote the divisors of $n$\nin increasing order.\nDoes it hold that\n$\\sum_{1 \\le i < j \\le \\tau(n)} \\frac{1}{d_j - d_i} \\ll 1 + \\sum_{1 \\le i < \\tau(n)}\n \\frac{1}{d_{i + 1} - d_i}$\nfor $n \\to \\infty$, i.e.\n$\\sum_{1 \\le i < j \\le \\tau(n)} \\frac{1}{d_j - d_i} \\in O \\left( 1 + \\sum_{1 \\le i < \\tau(n)}\n \\frac{1}{d_{i + 1} - d_i} \\right)$?\n\nThis conjecture has been **disproved**:\n- In September 2025, Terence Tao gave a conditional _negative_ answer assuming the prime tuples\n  conjecture, see `erdos_884_false_of_hardy_littlewood` for this implication.\n- Daniel Larsen subsequently gave an\n  [unconditional disproof](https://github.com/Larsen-Daniel/Erdos-884/blob/main/884.pdf).\n\n*Reference:* [erdosproblems.com/884](https://www.erdosproblems.com/884)\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at \"https://github.com/Jayyhk/erdos-lean/blob/f8a51976fd2e66a52b4928c109fb9ae877a1a507/problems/884/Erdos884.lean\"]\ntheorem erdos_884 :\n    ¬ Erdos884Prop := by\n  sorry\n\n/--\nIn September 2025, Terence Tao gave a conditional _negative_ answer to Erdős problem 884,\ndisproving it under the assumption of the *qualitative Hardy–Littlewood prime tuples\nconjecture*, see Conjecture 1.1 and Theorem 1.1 of\n[Tao25](https://terrytao.wordpress.com/wp-content/uploads/2025/09/erdos-884.pdf).\n\nThe qualitative conjecture states that for every admissible tuple $(h_1, \\dotsc, h_k)$ of\nintegers, i.e. one which avoids at least one residue class modulo $p$ for every prime $p$,\nthere are infinitely many natural numbers $n$ such that $n + h_1, \\dotsc, n + h_k$ are all\nprime. Unlike the full Hardy–Littlewood conjecture, it does not give an asymptotic for the\nnumber of such $n$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_884_false_of_hardy_littlewood\n    (hHL : ∀ H : Finset ℤ, (∀ p : ℕ, p.Prime → ∃ a : ℤ, ∀ h ∈ H, ¬ (p : ℤ) ∣ a + h) →\n      {n : ℕ | ∀ h ∈ H, Prime ((n : ℤ) + h)}.Infinite) :\n    ¬Erdos884Prop := by\n  sorry\n\nend Erdos884\n",
  "statement_hash": "0bee1a0b72656cdd77bb9c42873cd82a120d69370cdbb23eefc75cc6780bbed0",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}