{
  "id": "1908",
  "ident": "NS.01908",
  "slug": "erdos-367",
  "title": "Erdős Problem 367",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $B_2(n)$ be the $2$-full part of $n$ (that is, $B_2(n)=n/n'$ where $n'$ is the product of all\nprimes that divide $n$ exactly once). Is it true that, for every fixed $k \\geq 1$,\n$\\prod_{n \\leq m < n+k} B_2(m) \\ll n^{2+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": "Erdos367.erdos_367.parts.i",
  "statement_lean": "theorem erdos_367.parts.i : ∀ k : ℕ, 1 ≤ k →\n    ∃ e : ℕ → ℝ,\n      e =o[atTop] (1 : ℕ → ℝ) ∧\n      ∀ᶠ n in atTop,\n        ((∏ m ∈ .Ico n (n + k), B 2 m : ℕ) : ℝ) ≤ (n : ℝ) ^ (2 + e 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-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 367\n\n*References:*\n- [erdosproblems.com/367](https://www.erdosproblems.com/367)\n- [ErGr80] P. Erdős and R. L. Graham, *Old and New Problems and Results in Combinatorial Number Theory*, L'Enseignement Mathématique (1980).\n-/\n\n@[expose] public section\n\nopen Asymptotics Filter\n\nnamespace Erdos367\n\n/--\n`B r n` is the $r$-full part of $n$: the product of prime powers $p^a \\| n$ with $a \\geq r$.\n-/\ndef B (r n : ℕ) : ℕ :=\n  ∏ i ∈ n.factorization.support with r ≤ n.factorization i, i ^ n.factorization i\n\n/--\nLet $B_2(n)$ be the $2$-full part of $n$ (that is, $B_2(n)=n/n'$ where $n'$ is the product of all\nprimes that divide $n$ exactly once). Is it true that, for every fixed $k \\geq 1$,\n$\\prod_{n \\leq m < n+k} B_2(m) \\ll n^{2+o(1)}$?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_367.parts.i : ∀ k : ℕ, 1 ≤ k →\n    ∃ e : ℕ → ℝ,\n      e =o[atTop] (1 : ℕ → ℝ) ∧\n      ∀ᶠ n in atTop,\n        ((∏ m ∈ .Ico n (n + k), B 2 m : ℕ) : ℝ) ≤ (n : ℝ) ^ (2 + e n) := by\n  sorry\n\n/--\nOr perhaps even $\\prod_{n \\leq m < n+k} B_2(m) \\ll_k n^2$?\n\nvan Doorn notes in the comments that this fails for all $k \\geq 3$.\n-/\n@[category research solved, question, AMS 11]\ntheorem erdos_367.parts.ii : ¬ ∀ k : ℕ, 1 ≤ k →\n    (fun n ↦ ((∏ m ∈ .Ico n (n + k), B 2 m : ℕ) : ℝ)) =O[atTop]\n      fun n ↦ (n : ℝ) ^ (2 : ℝ) := by\n  sorry\n\n/--\nvan Doorn notes in the comments that for $k \\leq 2$ we trivially have\n$\\prod_{n \\leq m < n+k} B_2(m) \\ll n^2$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_367.variants.k_le_two : ∀ k : ℕ, k ≤ 2 →\n    (fun n ↦ ((∏ m ∈ .Ico n (n + k), B 2 m : ℕ) : ℝ)) =O[atTop]\n      fun n ↦ (n : ℝ) ^ (2 : ℝ) := by\n  sorry\n\n/--\nBut this fails for all $k \\geq 3$, and in fact\n$\\prod_{n \\leq m < n+3} B_2(m) \\gg n^2 \\log n$ infinitely often.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_367.variants.k_ge_three_lower :\n    ∃ c > (0 : ℝ), ∃ᶠ (n : ℕ) in atTop,\n      c * ((n : ℝ) ^ 2 * Real.log (n : ℝ)) ≤\n        ((∏ m ∈ .Ico n (n + 3), B 2 m : ℕ) : ℝ) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nIt would also be interesting to find upper and lower bounds for the analogous product with $B_r$\nfor $r \\geq 3$, where $B_r(n)$ is the $r$-full part of $n$ (that is, the product of prime powers\n$p^a \\mid n$ such that $p^{a+1} \\nmid n$ and $a \\geq r$). Is it true that, for every fixed\n$r \\geq 3$ and $k \\geq 2$, there is some $\\epsilon = \\epsilon(r, k) > 0$ with\n$\\limsup \\frac{\\prod_{n \\leq m < n+k} B_r(m)}{n^{1+\\epsilon}} = \\infty$?\n\nThe webpage writes \"for every fixed $r,k \\geq 2$ and $\\epsilon > 0$\", but van Doorn observes in\nthe [comments](https://www.erdosproblems.com/forum/thread/367#post-1766) that the intended\nreading lets $\\epsilon$ depend on $r$ and $k$. Since $B_r(m) \\mid m$, the product is at most\n$\\prod_{n \\leq m < n+k} m$, so the reading with $\\epsilon$ universally quantified is false.\n\nThe answer is yes: $\\epsilon = 1/(2r)$ works. For $j \\geq r$ let $x = 2^j + 1$ and $n = x^r - 1$;\nthen $B_r(n+1) = x^r$ and $2^j \\mid n$ gives $B_r(n) \\geq 2^j$, so the product over $[n, n+k)$ is at\nleast $2^j x^r \\geq (\\sqrt{x}/2)\\, n^{1 + 1/(2r)}$, which is unbounded. A stronger exponent\n(any $\\epsilon < (r+1)/r^2$) is claimed in the [forum](https://www.erdosproblems.com/forum/thread/367)\nbut is not formalised.\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/kusasyu36/erdos367-higher-full-parts/blob/9c995fbb1ec62bd675ac9bc162f9e2337d6db4f9/Erdos367HigherFullParts.lean#L57\"]\ntheorem erdos_367.variants.higher_full_parts :\n    ∀ r k : ℕ, 3 ≤ r → 2 ≤ k → ∃ ε : ℝ, 0 < ε ∧\n      atTop.limsup (fun n ↦\n        ((∏ m ∈ .Ico n (n + k), B r m : ℕ) / (n : ℝ) ^ (1 + ε) |>.toEReal)) = ⊤ := by\n  sorry\n\nend Erdos367\n",
  "statement_hash": "d051bd78e2345cc84e077f576487b58d25365077267b4352c1312a1d1709cb43",
  "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."
}