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 370

Source:Erdős Problems · erdosproblems.com/370
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Are there infinitely many nn such that the largest prime factor of nn is <n12< n^{\frac{1}{2}} and the largest prime factor of n+1n + 1 is <(n+1)12< (n + 1)^{\frac{1}{2}}.

Steinerberger has pointed out this problem has a trivial solution.

This was formalized in Lean by Alexeev using Aristotle.

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

Formal statement

theorem erdos_370 :
    { n | Nat.maxPrimeFac n < √n ∧ Nat.maxPrimeFac (n + 1) < √(n + 1) }.Infinite
Show the full Challenge.lean (47 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 370

*Reference:* [erdosproblems.com/370](https://www.erdosproblems.com/370)
-/

@[expose] public section

namespace Erdos370

set_option linter.style.formal_proof_palomar false in
/--
Are there infinitely many $n$ such that the largest prime factor of $n$ is $< n^{\frac{1}{2}}$ and
the largest prime factor of $n + 1$ is $< (n + 1)^{\frac{1}{2}}$.

Steinerberger has pointed out this problem has a trivial solution.

This was formalized in Lean by Alexeev using Aristotle.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.24.0/ErdosProblems/Erdos370.lean",
formal_proof using formal_conjectures at
"https://github.com/XC0R/formal-conjectures/blob/f58dea7d2cc5c9da2e050ec80a73e838b54a6dd2/FormalConjectures/ErdosProblems/370.lean#L73"]
theorem erdos_370 :
    { n | Nat.maxPrimeFac n < √n ∧ Nat.maxPrimeFac (n + 1) < √(n + 1) }.Infinite := by
  sorry

end Erdos370

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

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

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.