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 368

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:

How large is the largest prime factor of n(n+1)n(n+1)? The truth is probably F(n)≫(log⁡n)2F(n)\gg (\log n)^2 for all nn.

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

Formal statement

theorem erdos_368.lower_bound :
    ∃ c : ℝ, 0 < c ∧ ∀ n : ℕ, 1 ≤ n → c * Real.log n ^ 2 ≤ (F n : ℝ)
Show the full Challenge.lean (89 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 368

*References:*
- [erdosproblems.com/368](https://www.erdosproblems.com/368)
- [Er76d] Erdős, P., Problems and results on number theoretic properties of consecutive
  integers and related questions. Proceedings of the Fifth Manitoba Conference on Numerical
  Mathematics (1976), 25–44.
- [Po18] Pólya, Georg, Zur arithmetischen Untersuchung der Polynome.
  Math. Z. (1918), 143–148.
- [Sc67b] Schinzel, A., On two theorems of Gelfond and some of their applications.
  Acta Arith. (1967/68), 177–236.
-/

@[expose] public section

namespace Erdos368

open Filter

/-- The largest prime factor of $n(n+1)$. -/
def F (n : ℕ) : ℕ := (n * (n + 1)).maxPrimeFac

/--
How large is the largest prime factor of $n(n+1)$?
The truth is probably $F(n)\gg (\log n)^2$ for all $n$.
-/
@[category research open, AMS 11]
theorem erdos_368.lower_bound :
    ∃ c : ℝ, 0 < c ∧ ∀ n : ℕ, 1 ≤ n → c * Real.log n ^ 2 ≤ (F n : ℝ) := by
  sorry

/--
Erdős [Er76d] conjectured that, for every $\epsilon>0$, there are infinitely many $n$
such that $F(n)<(\log n)^{2+\epsilon}$.
-/
@[category research open, AMS 11]
theorem erdos_368.upper_bound :
    ∀ ε : ℝ, 0 < ε → ∃ᶠ n : ℕ in atTop, (F n : ℝ) < Real.log n ^ (2 + ε) := by
  sorry

/-- Pólya [Po18] proved that $F(n)\to\infty$ as $n\to\infty$. -/
@[category research solved, AMS 11]
theorem erdos_368.variants.tendsto : Tendsto F atTop atTop := by
  sorry

/--
For every $\delta>0$, there are infinitely many $n$ with $F(n)\leq n^\delta$.
This follows from Schinzel's [Sc67b] observation that, for infinitely many $n$,
$F(n)\leq n^{O(1/\log\log\log n)}$.
-/
@[category research solved, AMS 11]
theorem erdos_368.variants.subpower :
    ∀ δ : ℝ, 0 < δ → ∃ᶠ n : ℕ in atTop, (F n : ℝ) ≤ (n : ℝ) ^ δ := by
  sorry

@[category test, AMS 11]
example : F 1 = 2 := by decide +kernel

@[category test, AMS 11]
example : F 8 = 3 := by decide +kernel

@[category test, AMS 11]
example : F 80 = 5 := by decide +kernel

@[category test, AMS 11]
example : F 4374 = 7 := by decide +kernel

end Erdos368

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

nosorry fetch erdos-368
nosorry submit erdos-368 nosorry/erdos-368/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.