{
  "id": "6885",
  "ident": "NS.06885",
  "slug": "oeis-80170",
  "title": "Conjecture relating two characterizations of a set of integers.",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Conjecture: The gcd condition is equivalent to the prime power condition.\nThis has been conjectured by Ralf Stephan.\n\nBoth the natural-language proof and its Lean 4 formalization were carried out\nby the KLMM MechMath Agent Team; see the `formal_proof` attribute.\n\n*References:*\n- [Ralf Stephan, *Prove or Disprove. 100 Conjectures from the OEIS*, 2004, Conjecture 17 (arXiv:math/0409509)](https://arxiv.org/abs/math/0409509)\n- [Dakai Guo et al., *A Greatest Common Divisor Criterion of Certain Binomial Coefficients*, 2026 (arXiv:2606.22997)](https://arxiv.org/abs/2606.22997)",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA80170.gcdCondition_iff_primePowerCondition",
  "statement_lean": "theorem gcdCondition_iff_primePowerCondition (k : ℕ) (hk : 2 ≤ k) :\n    A k ↔ B (k + 1)",
  "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# Conjecture relating two characterizations of a set of integers.\n\nInformal Statement:\nFor an integer $k \\ge 2$, the following are equivalent:\n\n1. The greatest common divisor of the binomial coefficients\n    $\\binom{2k}{k}, \\binom{3k}{k}, \\dots, \\binom{(k+1)k}{k} = 1$.\n\n2. Writing prime factorization of $k$ as\n    $k = \\prod p_i^{e_i}$, and let\n    $P = \\max_i p_i^{e_i}$,\n    one has $k / P > P$.\n\nThis conjecture asserts that the sequence defined by 1. is obtained by\ntaking 1 off each number in the sequence defined by 2.\n\n*References:*\n- [A80170](https://oeis.org/A80170)\n- [A51283](https://oeis.org/A51283)\n-/\n\n@[expose] public section\n\nnamespace OeisA80170\n\n/--\nThe gcd of the binomial coefficients\n$\\binom{2k}{k}, \\binom{3k}{k}, \\dots, \\binom{(k+1)k}{k} = 1$.\n-/\ndef A (k : ℕ) : Prop :=\n  (Finset.range k).gcd (fun i => Nat.choose ((i + 2) * k) k) = 1\n\n/--\nLet $P$ be the largest prime power dividing `k`.\nThen $k / P > P$.\n-/\ndef B (k : ℕ) : Prop :=\n  let P := ((Nat.divisors k).filter IsPrimePow).max.getD 0\n  k / P > P\n\n@[category test, AMS 11]\ntheorem a_2 : ¬A 2 := by unfold A; decide\n\n@[category test, AMS 11]\ntheorem a_3 : ¬A 3 := by unfold A; decide\n\n@[category test, AMS 11]\ntheorem a_4 : ¬A 4 := by unfold A; decide\n\n@[category test, AMS 11]\ntheorem a_5 : ¬A 5 := by unfold A; decide\n\n@[category test, AMS 11]\ntheorem a_6 : ¬A 6 := by unfold A; decide\n\nset_option linter.style.formal_proof_palomar false in\n/--\nConjecture: The gcd condition is equivalent to the prime power condition.\nThis has been conjectured by Ralf Stephan.\n\nBoth the natural-language proof and its Lean 4 formalization were carried out\nby the KLMM MechMath Agent Team; see the `formal_proof` attribute.\n\n*References:*\n- [Ralf Stephan, *Prove or Disprove. 100 Conjectures from the OEIS*, 2004, Conjecture 17 (arXiv:math/0409509)](https://arxiv.org/abs/math/0409509)\n- [Dakai Guo et al., *A Greatest Common Divisor Criterion of Certain Binomial Coefficients*, 2026 (arXiv:2606.22997)](https://arxiv.org/abs/2606.22997)\n-/\n@[category research solved, AMS 11,\nformal_proof using formal_conjectures at\n\"https://github.com/guodk/formal-conjectures/blob/0720658844d76a50d48e4baa152eef14d4462907/FormalConjectures/OEIS/80170.lean#L1823\"]\ntheorem gcdCondition_iff_primePowerCondition (k : ℕ) (hk : 2 ≤ k) :\n    A k ↔ B (k + 1) := by\n  sorry\n\nend OeisA80170\n",
  "statement_hash": "90bda1ad2e7376283b7a9c23338d66a70bf030803d954cf4403638d18af8e43b",
  "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."
}