{
  "id": "1292",
  "ident": "NS.01292",
  "slug": "erdos-204",
  "title": "Erdős Problem 204",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Are there $n$ such that there is a covering system with moduli the divisors of $n$ which is 'as\ndisjoint as possible'?\n\nThat is, for all $d\\mid n$ with $d>1$ there is an associated $a_d$ such that every integer is\ncongruent to some $a_d\\pmod{d}$, and if there is some integer $x$ with\n$$x\\equiv a_d\\pmod{d}\\textrm{ and }x\\equiv a_{d'}\\pmod{d'}$$then $(d,d')=1$.\n\nThe density of such $n$ is zero. Erdős and Graham believed that no such $n$ exist.\n\nAdenwalla [Ad25] has proved there are no such $n$.\n\nThis was formalized by van Doorn in Lean using Aristotle.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos204.erdos_204",
  "statement_lean": "theorem erdos_204 : ¬ ∃ (n : ℕ) (a : ℕ → ℤ),\n    let D := {d : ℕ | d ∣ n ∧ d > 1}\n    (∀ x : ℤ, ∃ d ∈ D, x ≡ a d [ZMOD d]) ∧\n    (∀ d ∈ D, ∀ d' ∈ D, d ≠ d' → (∃ x : ℤ, x ≡ a d [ZMOD d] ∧ x ≡ a d' [ZMOD d']) →\n      Nat.gcd d d' = 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 204\n\n*References:*\n- [erdosproblems.com/204](https://www.erdosproblems.com/204)\n- [Ad25] S. Adenwalla, A Question of Erdős and Graham on Covering Systems. arXiv:2501.15170 (2025).\n-/\n\n@[expose] public section\n\nnamespace Erdos204\n\nset_option linter.style.formal_proof_palomar false in\n/--\nAre there $n$ such that there is a covering system with moduli the divisors of $n$ which is 'as\ndisjoint as possible'?\n\nThat is, for all $d\\mid n$ with $d>1$ there is an associated $a_d$ such that every integer is\ncongruent to some $a_d\\pmod{d}$, and if there is some integer $x$ with\n$$x\\equiv a_d\\pmod{d}\\textrm{ and }x\\equiv a_{d'}\\pmod{d'}$$then $(d,d')=1$.\n\nThe density of such $n$ is zero. Erdős and Graham believed that no such $n$ exist.\n\nAdenwalla [Ad25] has proved there are no such $n$.\n\nThis was formalized by van Doorn in Lean using Aristotle.\n-/\n@[category research solved, question, AMS 5, formal_proof using lean4 at \"https://github.com/Woett/Lean-files/blob/main/ErdosProblem204.lean\"]\ntheorem erdos_204 : ¬ ∃ (n : ℕ) (a : ℕ → ℤ),\n    let D := {d : ℕ | d ∣ n ∧ d > 1}\n    (∀ x : ℤ, ∃ d ∈ D, x ≡ a d [ZMOD d]) ∧\n    (∀ d ∈ D, ∀ d' ∈ D, d ≠ d' → (∃ x : ℤ, x ≡ a d [ZMOD d] ∧ x ≡ a d' [ZMOD d']) →\n      Nat.gcd d d' = 1) := by\n  sorry\n\nend Erdos204\n",
  "statement_hash": "f0e055747683fb2009c0f5a442f5d6c97bcdc65d4272a11f898dd7ad385e1f99",
  "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."
}