{
  "id": "1946",
  "ident": "NS.01946",
  "slug": "erdos-384",
  "title": "Erdős Problem 384",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "If $1<k<n-1$ then $\\binom{n}{k}$ is divisible by a prime $p\\leq n/2$ (except\n$\\binom{7}{3}=\\binom{7}{4}=5\\cdot 7$).\n\nA conjecture of Erdős and Selfridge [ErGr80]. Proved by Ecklund [Ec69], who made the stronger\nconjecture that whenever $n>k^2$ the binomial coefficient $\\binom{n}{k}$ is divisible by a prime\n$p<n/k$. Discussed in problem B31 and B33 of Guy's collection [Gu04]. Stronger forms of this\nconjecture are [1094](https://www.erdosproblems.com/1094) and\n[1095](https://www.erdosproblems.com/1095).\n\nEcklund's theorem is stated for $n \\geq 2k$ with the single exception $\\binom{7}{3}$; by the\nsymmetry $\\binom{n}{k} = \\binom{n}{n-k}$ this is the form above, where $\\binom{7}{4}$ is the\nsecond exception. The prime bound is $p \\leq n/2$ (that is, $2p \\leq n$); see\n`erdos_384.variants.strict` for the strict inequality.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos384.erdos_384",
  "statement_lean": "theorem erdos_384 (n k : ℕ) (hk : 1 < k) (hkn : k < n - 1) (h₃ : (n, k) ≠ (7, 3))\n    (h₄ : (n, k) ≠ (7, 4)) :\n    ∃ p : ℕ, p.Prime ∧ p ∣ n.choose k ∧ 2 * p ≤ n",
  "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 384\n\n*References:*\n- [erdosproblems.com/384](https://www.erdosproblems.com/384)\n- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number\n  theory*. Monographies de L'Enseignement Mathematique (1980).\n- [Ec69] Ecklund, Jr., E. F., *On prime divisors of the binomial coefficient*. Pacific J. Math.\n  (1969), 267-270.\n- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.\n-/\n\n@[expose] public section\n\nnamespace Erdos384\n\n/--\nIf $1<k<n-1$ then $\\binom{n}{k}$ is divisible by a prime $p\\leq n/2$ (except\n$\\binom{7}{3}=\\binom{7}{4}=5\\cdot 7$).\n\nA conjecture of Erdős and Selfridge [ErGr80]. Proved by Ecklund [Ec69], who made the stronger\nconjecture that whenever $n>k^2$ the binomial coefficient $\\binom{n}{k}$ is divisible by a prime\n$p<n/k$. Discussed in problem B31 and B33 of Guy's collection [Gu04]. Stronger forms of this\nconjecture are [1094](https://www.erdosproblems.com/1094) and\n[1095](https://www.erdosproblems.com/1095).\n\nEcklund's theorem is stated for $n \\geq 2k$ with the single exception $\\binom{7}{3}$; by the\nsymmetry $\\binom{n}{k} = \\binom{n}{n-k}$ this is the form above, where $\\binom{7}{4}$ is the\nsecond exception. The prime bound is $p \\leq n/2$ (that is, $2p \\leq n$); see\n`erdos_384.variants.strict` for the strict inequality.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_384 (n k : ℕ) (hk : 1 < k) (hkn : k < n - 1) (h₃ : (n, k) ≠ (7, 3))\n    (h₄ : (n, k) ≠ (7, 4)) :\n    ∃ p : ℕ, p.Prime ∧ p ∣ n.choose k ∧ 2 * p ≤ n := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nWith the strict inequality $p < n/2$ the statement is false: $\\binom{4}{2} = 6$ has no prime\ndivisor $p < 2$.\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos384.lean#L71\"]\ntheorem erdos_384.variants.strict :\n    ¬ ∀ n k : ℕ, 1 < k → k < n - 1 → (n, k) ≠ (7, 3) → (n, k) ≠ (7, 4) →\n      ∃ p : ℕ, p.Prime ∧ p ∣ n.choose k ∧ 2 * p < n := by\n  sorry\n\nend Erdos384\n",
  "statement_hash": "c7a9405adc1fdf93a1b93365ccb8784edb01b873008798b011e7a1d8ffcfb9dd",
  "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."
}