{
  "id": "1647",
  "ident": "NS.01647",
  "slug": "erdos-306",
  "title": "Erdős Problem 306",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $\\frac a b\\in \\mathbb{Q}_{>0}$ with $b$ squarefree. Are there integers $1 < n_1 < \\dots < n_k$,\neach the product of two distinct primes, such that $\\frac{a}{b}=\\frac{1}{n_1}+\\cdots+\\frac{1}{n_k}$?\n\nThe answer is yes [Li26].",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos306.erdos_306",
  "statement_lean": "theorem erdos_306 : ∀ (q : ℚ), 0 < q → Squarefree q.den →\n    ∃ k : ℕ, ∃ (n : Fin (k + 1) → ℕ), n 0 = 1 ∧ StrictMono n ∧\n    (∀ i ∈ Finset.Icc 1 (Fin.last k), ω (n i) = 2 ∧ Ω (n i) = 2) ∧\n    q = ∑ i ∈ Finset.Icc 1 (Fin.last k), (1 : ℚ) / (n i)",
  "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/-!\n# Erdős Problem 306\n\n*References:*\n- [erdosproblems.com/306](https://www.erdosproblems.com/306)\n- [Li26] S. Li, *Unit fractions with semiprime denominators: an elementary proof of Erdős\n  Problem 306*. arXiv:2609.32140 (2026).\n- [Ta26] [Tang, Yuren, *A Lean 4 formalisation of Erdős Problem\n  306*](https://github.com/Yuren-Tang/erdos-306), a proof modulo two Rosser–Schoenfeld axioms.\n-/\n\n@[expose] public section\n\nopen ArithmeticFunction\nopen scoped omega Omega\n\nnamespace Erdos306\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $\\frac a b\\in \\mathbb{Q}_{>0}$ with $b$ squarefree. Are there integers $1 < n_1 < \\dots < n_k$,\neach the product of two distinct primes, such that $\\frac{a}{b}=\\frac{1}{n_1}+\\cdots+\\frac{1}{n_k}$?\n\nThe answer is yes [Li26].\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/linrock/math-proofs/blob/e1a5e2a3317007f0e31b98bf2e80383187b31238/erdos-306/Solution.lean#L34\"]\ntheorem erdos_306 : ∀ (q : ℚ), 0 < q → Squarefree q.den →\n    ∃ k : ℕ, ∃ (n : Fin (k + 1) → ℕ), n 0 = 1 ∧ StrictMono n ∧\n    (∀ i ∈ Finset.Icc 1 (Fin.last k), ω (n i) = 2 ∧ Ω (n i) = 2) ∧\n    q = ∑ i ∈ Finset.Icc 1 (Fin.last k), (1 : ℚ) / (n i) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nEvery positive integer can be expressed as an Egyptian fraction where each denominator is the\nproduct of three distinct primes.\n-/\n@[category research solved, AMS 11, formal_proof using lean4 at\n  \"https://github.com/linrock/math-proofs/blob/e1a5e2a3317007f0e31b98bf2e80383187b31238/erdos-306/Solution.lean#L48\"]\ntheorem erdos_306.variants.integer_three_primes (m : ℕ) (h : 0 < m) :\n    ∃ k > (0 : ℕ), ∃ (n : Fin (k + 1) → ℕ), n 0 = 1 ∧\n    ∀ i, (hik : i < k) → n ⟨i, by omega⟩ < n ⟨(i + 1), by omega⟩ ∧\n    (∀ i ∈ Finset.Icc 1 (Fin.last k), ω (n i) = 3 ∧ Ω (n i) = 3) ∧\n    m = ∑ i ∈ Finset.Icc 1 (Fin.last k), (1 : ℚ) / (n i) := by\n  sorry\n\nend Erdos306\n",
  "statement_hash": "7a5d90ac5eef16085ff86291dd44002583ec7ddfabf1631cc0e76d4bf3479a89",
  "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."
}