{
  "id": "2182",
  "ident": "NS.02182",
  "slug": "erdos-45",
  "title": "Erdős Problem 45",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $k\\geq 2$. Is there an integer $n_k$ such that, if $D=\\{ 1<d<n_k : d\\mid n_k\\}$, then for any\n$k$-colouring of $D$ there is a monochromatic subset $D'\\subseteq D$ such that\n$\\sum_{d\\in D'}\\frac{1}{d}=1$?\n\nThis follows from the colouring result of Croot [Cr03]. Croot's result allows for\n$n_k \\leq e^{C^k}$ for some constant $C>1$ (simply taking $n_k$ to be the lowest common multiple of\nsome interval $[1,C^k]$). Sawhney has observed that there is also a doubly exponential lower bound,\nand hence this bound is essentially sharp.",
  "subjects": [
    "math.CO",
    "math.NT",
    "msc:05",
    "msc:11"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos45.erdos_45",
  "statement_lean": "theorem erdos_45 :\n    ∀ k : ℕ, 2 ≤ k → ∃ n : ℕ, ∀ colouring : ℕ → Fin k,\n      ∃ colour : Fin k, ∃ D' ⊆ {d ∈ n.divisors | 1 < d ∧ d < n},\n        (∀ d ∈ D', colouring d = colour) ∧ D'.reciprocalSum = 1",
  "challenge_source": "/-\nCopyright 2026 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 45\n\n*References:*\n- [erdosproblems.com/45](https://www.erdosproblems.com/45)\n- [Er95] Erdős, Paul, *Some of my favourite problems in number theory, combinatorics, and geometry*.\n  Resenhas (1995), 165-186.\n- [Er96b] Erdős, Paul, *Some problems I presented or planned to present in my short talk*. Analytic\n  number theory, Vol. 1 (Allerton Park, IL, 1995) (1996), 333-335.\n- [Cr03] Croot, III, Ernest S., *On a coloring conjecture about unit fractions*. Ann. of Math. (2)\n  (2003), 545-556.\n- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.\n-/\n\n@[expose] public section\n\nnamespace Erdos45\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $k\\geq 2$. Is there an integer $n_k$ such that, if $D=\\{ 1<d<n_k : d\\mid n_k\\}$, then for any\n$k$-colouring of $D$ there is a monochromatic subset $D'\\subseteq D$ such that\n$\\sum_{d\\in D'}\\frac{1}{d}=1$?\n\nThis follows from the colouring result of Croot [Cr03]. Croot's result allows for\n$n_k \\leq e^{C^k}$ for some constant $C>1$ (simply taking $n_k$ to be the lowest common multiple of\nsome interval $[1,C^k]$). Sawhney has observed that there is also a doubly exponential lower bound,\nand hence this bound is essentially sharp.\n-/\n@[category research solved, question, AMS 5 11, formal_proof using lean4 at \"https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos45.lean\"]\ntheorem erdos_45 :\n    ∀ k : ℕ, 2 ≤ k → ∃ n : ℕ, ∀ colouring : ℕ → Fin k,\n      ∃ colour : Fin k, ∃ D' ⊆ {d ∈ n.divisors | 1 < d ∧ d < n},\n        (∀ d ∈ D', colouring d = colour) ∧ D'.reciprocalSum = 1 := by\n  sorry\n\nend Erdos45\n",
  "statement_hash": "9efdd48db8bfff6c8acea381c09b71a3e09ab9c87d67cdfc5f017234a3006688",
  "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."
}