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 648

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 g(n)g(n) denote the largest tt such that there exist integers 2≤a1<a2<⋯<at<n2\leq a_1<a_2<\cdots <a_t <n such that P(a1)>P(a2)>⋯>P(at)P(a_1)>P(a_2)>\cdots >P(a_t) where P(m)P(m) is the greatest prime factor of mm. Estimate g(n)g(n).

Stijn Cambie has proved [Ca25b] g(n)≍(nlog⁡n)1/2.g(n) \asymp \left(\frac{n}{\log n}\right)^{1/2}. Cambie further asks whether there exists a constant cc such that g(n)∼c(nlog⁡n)1/2.g(n) \sim c \left(\frac{n}{\log n}\right)^{1/2}. Cambie's proof shows that such a cc must satisfy 2≤c≤222\leq c\leq 2\sqrt{2}.

The sequence a1<a2<⋯<ata_1<a_2<\cdots<a_t is packaged as a strictly monotone map a : Fin t → ℕ with 2≤ai<n2\leq a_i<n, the greatest prime factor PP is Nat.maxPrimeFac, and g(n)g(n) is the supremum in ℕ of the achievable lengths tt.

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

Formal statement

theorem erdos_648 :
    (fun n => (g n : ℝ)) =Θ[atTop] fun n => Real.sqrt ((n : ℝ) / Real.log (n : ℝ))
Show the full Challenge.lean (73 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 648

*References:*
- [erdosproblems.com/648](https://www.erdosproblems.com/648)
- [Er95c] Erdős, Paul, *Some problems in number theory*. Octogon Math. Mag. (1995), 3-5.
- [Ca25b] S. Cambie, *On Erdős problem #648*. arXiv:2503.22691 (2025).
-/

@[expose] public section

open Filter Asymptotics

namespace Erdos648

/-
Divergences from the hosted theorems (details in statements/648/draft.json):
- the sequence range follows the problem text, `2 ≤ a_1 < ⋯ < a_t < n` (`Set.Ico 2 n`);
  both hosted theorems allow `0 < m ≤ n` (`Set.Ioc 0 n`), which admits `1` and `n`.
- `P` is the FC-house `Nat.maxPrimeFac`; the hosted files define
  `P n = (n.primeFactors.max).getD 1`. The two agree on `2 ≤ m`.
- the sequence is a strictly monotone `a : Fin t → ℕ` (FC house shape); the hosted
  theorems use a `List ℕ` with `IsChain`.
-/

/--
`g n` is the largest `t` such that there exist integers `2 ≤ a 0 < a 1 < ⋯ < a (t - 1) < n`
whose greatest prime factors are strictly decreasing. -/
noncomputable def g (n : ℕ) : ℕ :=
  sSup {t | ∃ a : Fin t → ℕ, StrictMono a ∧ (∀ i, a i ∈ Set.Ico 2 n) ∧
    StrictAnti fun i => (a i).maxPrimeFac}

set_option linter.style.formal_proof_palomar false in
/--
Let $g(n)$ denote the largest $t$ such that there exist integers $2\leq a_1<a_2<\cdots <a_t <n$
such that $$P(a_1)>P(a_2)>\cdots >P(a_t)$$ where $P(m)$ is the greatest prime factor of $m$.
Estimate $g(n)$.

Stijn Cambie has proved [Ca25b] $$g(n) \asymp \left(\frac{n}{\log n}\right)^{1/2}.$$
Cambie further asks whether there exists a constant $c$ such that
$$g(n) \sim c \left(\frac{n}{\log n}\right)^{1/2}.$$
Cambie's proof shows that such a $c$ must satisfy $2\leq c\leq 2\sqrt{2}$.

The sequence $a_1<a_2<\cdots<a_t$ is packaged as a strictly monotone map `a : Fin t → ℕ`
with $2\leq a_i<n$, the greatest prime factor $P$ is `Nat.maxPrimeFac`, and $g(n)$ is the
supremum in `ℕ` of the achievable lengths $t$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/68da20b96673899166e94638f5a7fffeb7231d35/src/latest/ErdosProblems/Erdos648.lean"]
theorem erdos_648 :
    (fun n => (g n : ℝ)) =Θ[atTop] fun n => Real.sqrt ((n : ℝ) / Real.log (n : ℝ)) := by
  sorry

end Erdos648

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

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