{
  "id": "3656",
  "ident": "NS.03656",
  "slug": "erdos-930",
  "title": "Erdős Problem 930",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Is it true that, for every $r$, there is a $k$ such that\nif $I_1,\\ldots,I_r$ are disjoint intervals of consecutive integers,\nall of length at least $k$, then\n$$\n  \\prod_{1\\leq i\\leq r}\\prod_{m\\in I_i}m\n$$\nis not a perfect power?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/930",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos930.erdos_930",
  "statement_lean": "theorem erdos_930 :\n    ∀ r > 0, ∃ k, ∀ I₁ I₂ : Fin r → ℕ,\n      (∀ i : Fin r, 0 < I₁ i ∧ I₁ i + k ≤ I₂ i + 1) →\n        (∀ i j : Fin r, i < j → I₂ i < I₁ j) →\n          ¬ IsPower (∏ i : Fin r, ∏ m ∈ Icc (I₁ i) (I₂ i), m)",
  "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# Erdős Problem 930\n\n*Reference:* [erdosproblems.com/930](https://www.erdosproblems.com/930)\n-/\n\n@[expose] public section\n\nopen Finset\n\nnamespace Erdos930\n\n/--\n$n$ is a perfect power if there exist natural numbers $m$ and $l$\nsuch that $1 < l$ and $m^l = n$.\n-/\ndef IsPower (n : ℕ) : Prop :=\n  ∃ m l, 1 < l ∧ m^l = n\n\n/--\nIs it true that, for every $r$, there is a $k$ such that\nif $I_1,\\ldots,I_r$ are disjoint intervals of consecutive integers,\nall of length at least $k$, then\n$$\n  \\prod_{1\\leq i\\leq r}\\prod_{m\\in I_i}m\n$$\nis not a perfect power?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_930 :\n    ∀ r > 0, ∃ k, ∀ I₁ I₂ : Fin r → ℕ,\n      (∀ i : Fin r, 0 < I₁ i ∧ I₁ i + k ≤ I₂ i + 1) →\n        (∀ i j : Fin r, i < j → I₂ i < I₁ j) →\n          ¬ IsPower (∏ i : Fin r, ∏ m ∈ Icc (I₁ i) (I₂ i), m) := by\n  sorry\n\n/--\nReturns the least prime satisfying $k \\le p$\n-/\ndef nextPrime (k : ℕ) : ℕ :=\n  Nat.find (Nat.exists_infinite_primes k)\n\n/--\nLet $k$, $l$, $n$ be integers such that $k \\ge 3$, $l \\ge 2$ and $n + k \\ge p^{(k)}$,\nwhere $p^{(k)}$ is the least prime satisfying $p^{(k)} \\ge k$.\nThen there is a prime $p \\ge k$ for which $l$ does not divide\nthe multiplicity of the prime factor $p$ in $(n + 1) \\ldots (n + k)$.\n\nTheorem 2 from [ErSe75].\n\n[ErSe75] Erdős, P. and Selfridge, J. L., The product of consecutive integers is never a power. Illinois J. Math. (1975), 292-301.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_930.variants.consecutive_strong :\n    ∀ k l n, 3 ≤ k → 2 ≤ l → nextPrime k ≤ n + k →\n      ∃ p, k ≤ p ∧ p.Prime ∧\n        ¬ (l ∣ Nat.factorization (∏ m ∈ Icc (n + 1) (n + k), m) p) := by\n  sorry\n\n/--\nErdos and Selfridge [ErSe75] proved that the product of\nconsecutive integers is never a power (establishing the case $r=1$).\n\nTheorem 1 from [ErSe75].\n\nIt is implied from `erdos_930.variants.consecutive_strong`.\n\n[ErSe75] Erdős, P. and Selfridge, J. L., The product of consecutive integers is never a power. Illinois J. Math. (1975), 292-301.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_930.variants.consecutive_integers :\n    ∀ n k, 0 ≤ n → 2 ≤ k →\n      ¬ IsPower (∏ m ∈ Icc (n + 1) (n + k), m) := by\n  sorry\n\nend Erdos930\n",
  "statement_hash": "9ad7a36ea0c925b0c69f22f4f7c95094cd4bb18b1ef963f2323731929db28ee4",
  "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."
}