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 459

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

Let f(u)f(u) be the largest vv such that no m∈(u,v)m\in (u,v) is composed entirely of primes dividing uvuv. Estimate f(u)f(u).

The estimate u+2≤f(u)≤u2u + 2 \le f(u) \le u^2 holds for every u≥2u \ge 2. The upper bound is attained when uu is prime, and the lower bound when u=2k−2u = 2^k - 2 with k≥2k \ge 2; Cambie further showed that f(n)=(1+o(1))nf(n) = (1 + o(1))n for almost all nn.

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

Formal statement

theorem erdos_459 {u : ℕ} (hu : 2 ≤ u) : u + 2 ≤ f u ∧ f u ≤ u ^ 2
Show the full Challenge.lean (63 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 459

*References:*
- [erdosproblems.com/459](https://www.erdosproblems.com/459)
- [ErGr80] P. Erdős and R. L. Graham, *Old and new problems and results in combinatorial number
  theory*, Monographies de L'Enseignement Mathématique 28 (1980), p.91.
- [OEIS A289280](https://oeis.org/A289280)
-/

@[expose] public section

namespace Erdos459

/--
The function from the problem, in its equivalent form: `f u` is the smallest `v > u` all of whose
prime factors divide `u`. (Equivalently, `f u` is the largest `v` such that no `m ∈ (u, v)` is
composed entirely of primes dividing `u * v`.)
-/
noncomputable def f (u : ℕ) : ℕ := sInf {v | u < v ∧ v.primeFactors ⊆ u.primeFactors}

set_option linter.style.formal_proof_palomar false in
/--
Let $f(u)$ be the largest $v$ such that no $m\in (u,v)$ is composed entirely of primes dividing
$uv$. Estimate $f(u)$.

The estimate $u + 2 \le f(u) \le u^2$ holds for every $u \ge 2$. The upper bound is attained
when $u$ is prime, and the lower bound when $u = 2^k - 2$ with $k \ge 2$; Cambie further showed
that $f(n) = (1 + o(1))n$ for almost all $n$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/Woett/Lean-files/blob/main/ErdosProblem459.lean"]
theorem erdos_459 {u : ℕ} (hu : 2 ≤ u) : u + 2 ≤ f u ∧ f u ≤ u ^ 2 := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
The upper bound $f u ≤ u ^ 2$ is attained exactly when `u` is prime: $f p = p ^ 2$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/Woett/Lean-files/blob/main/ErdosProblem459.lean"]
theorem erdos_459.variants.upper_tight {p : ℕ} (hp : p.Prime) : f p = p ^ 2 := by
  sorry

end Erdos459

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

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