{
  "id": "5880",
  "ident": "NS.05880",
  "slug": "oeis-2454",
  "title": "Central factorial numbers: $((2n)!!)^2$",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $\\zeta$ be a primitive $(2n+1)$-th root of unity. Then the permanent of the\n$2n \\times 2n$ matrix $[m(j,k)]_{j,k=1..2n}$ is $a(n)/(2n+1) = ((2n)!!)^2/(2n+1)$,\nwhere $m(j,k)$ is $1$ or $(1+\\zeta^{j-k})/(1-\\zeta^{j-k})$ according as $j = k$ or not.\n- Zhi-Wei Sun, Jun 26 2022\n\nProved by [SSX22], Theorem 1.3(ii): for odd $m > 1$ and $\\zeta$ a primitive $m$-th root of\nunity, the permanent of $[c_{j,k}]_{1 \\le j,k \\le m-1}$ is $((m-1)!!)^2/m$. Take $m = 2n+1$;\ntranslating both matrix indices by one leaves $j - k$ unchanged. For $n = 0$ the matrix is\nempty and both sides are $1$.",
  "subjects": [
    "math.NT",
    "math.RA",
    "msc:11",
    "msc:15"
  ],
  "tags": [],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA2454.conjecture",
  "statement_lean": "theorem conjecture (n : ℕ) :\n    let N : ℕ := 2 * n\n    let K : ℕ := N + 1\n    ∀ (ζ : ℂ), IsPrimitiveRoot ζ K →\n      Matrix.permanent (fun (j k : Fin N) =>\n        if j = k then\n          (1 : ℂ)\n        else\n          let pow : ℤ := (j : ℤ) - (k : ℤ)\n          (1 + ζ ^ pow) / (1 - ζ ^ pow)\n      ) = (a n : ℂ) / (K : ℂ)",
  "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# Central factorial numbers: $((2n)!!)^2$\n\nCentral factorial numbers: $a(n) = 4^n (n!)^2 = ((2n)!!)^2$.\n\n*References:*\n- [A002454](https://oeis.org/A002454)\n- [SSX22] [She, Y.-F., Sun, Z.-W., Xia, W., *A novel permanent identity with applications*,\n  arXiv:2208.12167 (2022)](https://arxiv.org/abs/2208.12167)-/\n\n@[expose] public section\n\nnamespace OeisA2454\n\n/-- Central factorial numbers: $a(n) = 4^n (n!)^2$. -/\ndef a (n : ℕ) : ℕ :=\n  4 ^ n * n.factorial ^ 2\n\n/-- Value of the sequence `a` at 0. -/\n@[category test, AMS 11]\ntheorem a_0 : a 0 = 1 := by rfl\n\n/-- Value of the sequence `a` at 1. -/\n@[category test, AMS 11]\ntheorem a_1 : a 1 = 4 := by rfl\n\n/-- Value of the sequence `a` at 2. -/\n@[category test, AMS 11]\ntheorem a_2 : a 2 = 64 := by rfl\n\n/-- Value of the sequence `a` at 3. -/\n@[category test, AMS 11]\ntheorem a_3 : a 3 = 2304 := by rfl\n\n/-- Value of the sequence `a` at 4. -/\n@[category test, AMS 11]\ntheorem a_4 : a 4 = 147456 := by rfl\n\n/--\nLet $\\zeta$ be a primitive $(2n+1)$-th root of unity. Then the permanent of the\n$2n \\times 2n$ matrix $[m(j,k)]_{j,k=1..2n}$ is $a(n)/(2n+1) = ((2n)!!)^2/(2n+1)$,\nwhere $m(j,k)$ is $1$ or $(1+\\zeta^{j-k})/(1-\\zeta^{j-k})$ according as $j = k$ or not.\n- Zhi-Wei Sun, Jun 26 2022\n\nProved by [SSX22], Theorem 1.3(ii): for odd $m > 1$ and $\\zeta$ a primitive $m$-th root of\nunity, the permanent of $[c_{j,k}]_{1 \\le j,k \\le m-1}$ is $((m-1)!!)^2/m$. Take $m = 2n+1$;\ntranslating both matrix indices by one leaves $j - k$ unchanged. For $n = 0$ the matrix is\nempty and both sides are $1$.-/\n@[category research solved, AMS 11 15]\ntheorem conjecture (n : ℕ) :\n    let N : ℕ := 2 * n\n    let K : ℕ := N + 1\n    ∀ (ζ : ℂ), IsPrimitiveRoot ζ K →\n      Matrix.permanent (fun (j k : Fin N) =>\n        if j = k then\n          (1 : ℂ)\n        else\n          let pow : ℤ := (j : ℤ) - (k : ℤ)\n          (1 + ζ ^ pow) / (1 - ζ ^ pow)\n      ) = (a n : ℂ) / (K : ℂ) := by\n  sorry\n\nend OeisA2454\n",
  "statement_hash": "20071d0c93aa7fb4093bfc6bda794bd1d621d0d78989a343954c18b7604f1729",
  "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."
}