{
  "id": "2972",
  "ident": "NS.02972",
  "slug": "erdos-711",
  "title": "Erdős Problem 711",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $f(n,m)$ be minimal such that $(m,m+f(n,m))$ contains distinct integers\n$a_1,\\ldots,a_n$ with $k \\mid a_k$ for $1 \\leq k \\leq n$. Prove that\n$\\max_m f(n,m) \\leq n^{1+o(1)}$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos711.erdos_711.parts.i",
  "statement_lean": "theorem erdos_711.parts.i : ∃ error : ℕ → ℝ,\n    error =o[atTop] (fun _ ↦ (1 : ℝ)) ∧ ∀ᶠ n in atTop, ∀ m, ∃ L,\n      HasDivisibleDistinctTuple n m L ∧ (L : ℝ) ≤ Real.rpow n (1 + error 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-/\n\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 711\n\n*References:*\n- [erdosproblems.com/711](https://www.erdosproblems.com/711)\n- [ErPo80] Erdős, P. and Pomerance, C.,\n  *Matching the natural numbers up to $n$ with distinct multiples in another interval* (1980).\n- [Er92c] Erdős, P., *Some of my forgotten problems in number theory*.\n  Hardy-Ramanujan J. (1992), 34–50.\n- [vD26] van Doorn, W.,\n  [*On the length of an interval that contains distinct multiples of the first $n$ positive\n  integers*](https://arxiv.org/abs/2601.16972). Integers 26 (2026), #A7.\n-/\n\n@[expose] public section\n\nnamespace Erdos711\n\nopen Filter Asymptotics\n\n/-- There are distinct $a_1,\\ldots,a_n$ in the open interval $(m,m+L)$ such that\n$i \\mid a_i$ for every $1 \\leq i \\leq n$. -/\ndef HasDivisibleDistinctTuple (n m L : ℕ) : Prop :=\n  ∃ a : Fin n → ℕ,\n    Function.Injective a ∧\n      ∀ i : Fin n, m < a i ∧ a i < m + L ∧ (i.val + 1) ∣ a i\n\n/-- $L$ is the minimal interval length for the parameters $(n,m)$. -/\ndef IsMinimalIntervalLength (n m L : ℕ) : Prop :=\n  HasDivisibleDistinctTuple n m L ∧\n    ∀ L', HasDivisibleDistinctTuple n m L' → L ≤ L'\n\n/-- Let $f(n,m)$ be minimal such that $(m,m+f(n,m))$ contains distinct integers\n$a_1,\\ldots,a_n$ with $k \\mid a_k$ for $1 \\leq k \\leq n$. Prove that\n$\\max_m f(n,m) \\leq n^{1+o(1)}$. -/\n@[category research open, question, AMS 11]\ntheorem erdos_711.parts.i : ∃ error : ℕ → ℝ,\n    error =o[atTop] (fun _ ↦ (1 : ℝ)) ∧ ∀ᶠ n in atTop, ∀ m, ∃ L,\n      HasDivisibleDistinctTuple n m L ∧ (L : ℝ) ≤ Real.rpow n (1 + error n) := by\n  sorry\n\n/-- Prove that $\\max_m (f(n,m)-f(n,n)) \\to \\infty$.\n\nThis was proved by van Doorn [vD26], who obtained the stronger lower bound\n$f(n,m)-f(n,n) \\gg n\\log n/\\log\\log n$ for a suitable $m=m(n)$ and all large $n$. -/\n@[category research solved, question, AMS 11]\ntheorem erdos_711.parts.ii : ∀ B : ℕ, ∀ᶠ n in atTop,\n    ∃ m Lm Ln : ℕ, IsMinimalIntervalLength n m Lm ∧\n      IsMinimalIntervalLength n n Ln ∧ B ≤ Lm - Ln := by\n  sorry\n\n-- TODO: Formalize the Erdős–Pomerance bounds and van Doorn's stronger quantitative theorem.\n\nend Erdos711\n",
  "statement_hash": "712efa51b19fab11c6b5b46ae17755543195037d5fdf17d2fb8854b440ea2f78",
  "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."
}