Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 367

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let B2(n)B_2(n) be the 22-full part of nn (that is, B2(n)=n/n′B_2(n)=n/n' where n′n' is the product of all primes that divide nn exactly once). Is it true that, for every fixed k≥1k \geq 1, ∏n≤m<n+kB2(m)≪n2+o(1)\prod_{n \leq m < n+k} B_2(m) \ll n^{2+o(1)}?

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.01908 [math.NT] · NS.01908v1 for this version
Declaration:Erdos367.erdos_367.parts.i
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:d051bd78e2345cc84e077f576487b58d25365077267b4352c1312a1d1709cb43
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/367.lean

Formal statement

theorem erdos_367.parts.i : ∀ k : ℕ, 1 ≤ k →
    ∃ e : ℕ → ℝ,
      e =o[atTop] (1 : ℕ → ℝ) ∧
      ∀ᶠ n in atTop,
        ((∏ m ∈ .Ico n (n + k), B 2 m : ℕ) : ℝ) ≤ (n : ℝ) ^ (2 + e n)
Show the full Challenge.lean (113 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 367

*References:*
- [erdosproblems.com/367](https://www.erdosproblems.com/367)
- [ErGr80] P. Erdős and R. L. Graham, *Old and New Problems and Results in Combinatorial Number Theory*, L'Enseignement Mathématique (1980).
-/

@[expose] public section

open Asymptotics Filter

namespace Erdos367

/--
`B r n` is the $r$-full part of $n$: the product of prime powers $p^a \| n$ with $a \geq r$.
-/
def B (r n : ℕ) : ℕ :=
  ∏ i ∈ n.factorization.support with r ≤ n.factorization i, i ^ n.factorization i

/--
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
primes that divide $n$ exactly once). Is it true that, for every fixed $k \geq 1$,
$\prod_{n \leq m < n+k} B_2(m) \ll n^{2+o(1)}$?
-/
@[category research open, question, AMS 11]
theorem erdos_367.parts.i : ∀ k : ℕ, 1 ≤ k →
    ∃ e : ℕ → ℝ,
      e =o[atTop] (1 : ℕ → ℝ) ∧
      ∀ᶠ n in atTop,
        ((∏ m ∈ .Ico n (n + k), B 2 m : ℕ) : ℝ) ≤ (n : ℝ) ^ (2 + e n) := by
  sorry

/--
Or perhaps even $\prod_{n \leq m < n+k} B_2(m) \ll_k n^2$?

van Doorn notes in the comments that this fails for all $k \geq 3$.
-/
@[category research solved, question, AMS 11]
theorem erdos_367.parts.ii : ¬ ∀ k : ℕ, 1 ≤ k →
    (fun n ↦ ((∏ m ∈ .Ico n (n + k), B 2 m : ℕ) : ℝ)) =O[atTop]
      fun n ↦ (n : ℝ) ^ (2 : ℝ) := by
  sorry

/--
van Doorn notes in the comments that for $k \leq 2$ we trivially have
$\prod_{n \leq m < n+k} B_2(m) \ll n^2$.
-/
@[category research solved, AMS 11]
theorem erdos_367.variants.k_le_two : ∀ k : ℕ, k ≤ 2 →
    (fun n ↦ ((∏ m ∈ .Ico n (n + k), B 2 m : ℕ) : ℝ)) =O[atTop]
      fun n ↦ (n : ℝ) ^ (2 : ℝ) := by
  sorry

/--
But this fails for all $k \geq 3$, and in fact
$\prod_{n \leq m < n+3} B_2(m) \gg n^2 \log n$ infinitely often.
-/
@[category research solved, AMS 11]
theorem erdos_367.variants.k_ge_three_lower :
    ∃ c > (0 : ℝ), ∃ᶠ (n : ℕ) in atTop,
      c * ((n : ℝ) ^ 2 * Real.log (n : ℝ)) ≤
        ((∏ m ∈ .Ico n (n + 3), B 2 m : ℕ) : ℝ) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
It would also be interesting to find upper and lower bounds for the analogous product with $B_r$
for $r \geq 3$, where $B_r(n)$ is the $r$-full part of $n$ (that is, the product of prime powers
$p^a \mid n$ such that $p^{a+1} \nmid n$ and $a \geq r$). Is it true that, for every fixed
$r \geq 3$ and $k \geq 2$, there is some $\epsilon = \epsilon(r, k) > 0$ with
$\limsup \frac{\prod_{n \leq m < n+k} B_r(m)}{n^{1+\epsilon}} = \infty$?

The webpage writes "for every fixed $r,k \geq 2$ and $\epsilon > 0$", but van Doorn observes in
the [comments](https://www.erdosproblems.com/forum/thread/367#post-1766) that the intended
reading lets $\epsilon$ depend on $r$ and $k$. Since $B_r(m) \mid m$, the product is at most
$\prod_{n \leq m < n+k} m$, so the reading with $\epsilon$ universally quantified is false.

The answer is yes: $\epsilon = 1/(2r)$ works. For $j \geq r$ let $x = 2^j + 1$ and $n = x^r - 1$;
then $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
least $2^j x^r \geq (\sqrt{x}/2)\, n^{1 + 1/(2r)}$, which is unbounded. A stronger exponent
(any $\epsilon < (r+1)/r^2$) is claimed in the [forum](https://www.erdosproblems.com/forum/thread/367)
but is not formalised.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/kusasyu36/erdos367-higher-full-parts/blob/9c995fbb1ec62bd675ac9bc162f9e2337d6db4f9/Erdos367HigherFullParts.lean#L57"]
theorem erdos_367.variants.higher_full_parts :
    ∀ r k : ℕ, 3 ≤ r → 2 ≤ k → ∃ ε : ℝ, 0 < ε ∧
      atTop.limsup (fun n ↦
        ((∏ m ∈ .Ico n (n + k), B r m : ℕ) / (n : ℝ) ^ (1 + ε) |>.toEReal)) = ⊤ := by
  sorry

end Erdos367

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos367.erdos_367.parts.i with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_i : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-367
nosorry submit erdos-367 nosorry/erdos-367/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.