{
  "id": "6173",
  "ident": "NS.06173",
  "slug": "oeis-306477",
  "title": "The 2-4-6-8 Conjecture",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "**Zhi-Wei Sun's 2-4-6-8 Conjecture (A306477)**: Any integer $n > 0$ can be written as\n$\\binom{w+2}{2} + \\binom{x+3}{4} + \\binom{y+5}{6} + \\binom{z+7}{8}$ for nonnegative integers $w, x, y, z$.\n\nThis is false: $n = 896315812331399$ is a counterexample.\nSee T. Adamczewski, OEIS Open: How many conjectures can language models turn into theorems?,\n[arXiv:2608.11941](https://arxiv.org/abs/2608.11941).",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA306477.conjecture",
  "statement_lean": "theorem conjecture : ¬ ∀ n : ℕ, 0 < n → A n",
  "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# The 2-4-6-8 Conjecture\n\nAny integer $n > 0$ can be written as $\\binom{w+2}{2} + \\binom{x+3}{4} + \\binom{y+5}{6} + \\binom{z+7}{8}$\nwith $w, x, y, z$ nonnegative integers.\n\nZhi-Wei Sun has offered a $2,468 prize for the first proof (or $2,468 RMB for a counterexample).\n\nThe conjecture has been verified for all $n$ up to $1.2 \\times 10^{12}$ by Yaakov Baruch (March 2019).\n\nThe conjecture is false: $n = 896315812331399$ has no such representation. The counterexample\nwas found in the OEIS Open project, with a Lean proof.\n\n*References:*\n- [A306477](https://oeis.org/A306477)\n- [mathoverflow/323541](https://mathoverflow.net/questions/323541): Z.-W. Sun, \"Positive integers written as C(w,2) + C(x,4) + C(y,6) + C(z,8) with w,x,y,z in {2,3,...},\", Feb. 19, 2019.\n- T. Adamczewski, \"OEIS Open: How many conjectures can language models turn into theorems?\",\n  [arXiv:2608.11941](https://arxiv.org/abs/2608.11941) [cs.AI], 2026.\n-/\n\n@[expose] public section\n\nnamespace OeisA306477\n\n/-- The predicate that `n` can be written as $\\binom{w+2}{2} + \\binom{x+3}{4} + \\binom{y+5}{6} + \\binom{z+7}{8}$\nfor nonnegative integers $w, x, y, z$. -/\ndef A (n : ℕ) : Prop :=\n  ∃ w x y z : ℕ, n = (w + 2).choose 2 + (x + 3).choose 4 + (y + 5).choose 6 + (z + 7).choose 8\n\n@[category test, AMS 11]\ntheorem a_1 : A 1 :=\n  ⟨0, 0, 0, 0, by decide⟩\n\n@[category test, AMS 11]\ntheorem a_2 : A 2 :=\n  ⟨0, 1, 0, 0, by decide⟩\n\n@[category test, AMS 11]\ntheorem a_3 : A 3 :=\n  ⟨1, 0, 0, 0, by decide⟩\n\n@[category test, AMS 11]\ntheorem a_4 : A 4 :=\n  ⟨1, 1, 0, 0, by decide⟩\n\n@[category test, AMS 11]\ntheorem a_5 : A 5 :=\n  ⟨1, 1, 1, 0, by decide⟩\n\n@[category test, AMS 11]\ntheorem a_6 : A 6 :=\n  ⟨2, 0, 0, 0, by decide⟩\n\nset_option linter.style.formal_proof_palomar false in\n/--\n**Zhi-Wei Sun's 2-4-6-8 Conjecture (A306477)**: Any integer $n > 0$ can be written as\n$\\binom{w+2}{2} + \\binom{x+3}{4} + \\binom{y+5}{6} + \\binom{z+7}{8}$ for nonnegative integers $w, x, y, z$.\n\nThis is false: $n = 896315812331399$ is a counterexample.\nSee T. Adamczewski, OEIS Open: How many conjectures can language models turn into theorems?,\n[arXiv:2608.11941](https://arxiv.org/abs/2608.11941).\n-/\n@[category research solved, AMS 11,\n  formal_proof using lean4 at \"https://github.com/epoch-research/LeanOpenProblems-results/blob/fd09021e79869476ef83cda231312f1a2a89c8d7/runs/oeis-open-lite-fable51-wm0v421z5ygi8f6b/oeis_306477_conjecture_1/Submission/Spec.lean#L793\"]\ntheorem conjecture : ¬ ∀ n : ℕ, 0 < n → A n := by\n  sorry\n\nend OeisA306477\n",
  "statement_hash": "35e03588e7a6666b92841c8b2a93522f8cb38464d64b4e0beeda9753a5b8a49b",
  "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."
}