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 373

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

Show that the equation n!=a_1!a_2!···a_k!, with n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k, has only finitely many solutions.

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

Formal statement

theorem erdos_373 : S.Finite
Show the full Challenge.lean (96 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 373

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

@[expose] public section

open scoped Nat

namespace Erdos373

/--
Let `S` be the set of non-trivial solutions to the equation `n! = a₁! ··· aₖ!`
such that `a₁ ≥ ... ≥ aₖ` and `n-1 > a₁`.
-/
abbrev S : Set (ℕ × List ℕ) :=
  {(n, l) | n ! = (l.map Nat.factorial).prod ∧ l.Pairwise (· ≥ ·)
    ∧ l.headI < (n - 1 : ℕ) ∧ ∀ a ∈ l, 1 < a }

/--
Show that the equation `n!=a_1!a_2!···a_k!`, with `n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k`, has
only finitely many solutions.
-/
@[category research open, AMS 11]
theorem erdos_373 : S.Finite := by
  sorry

/--
Show that if `P(n(n+1)) / log n → ∞` where `P(m)` denotes the largest prime factor of `m`, then
the equation `n!=a_1!a_2!···a_k!`, with `n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k`, has only
finitely many solutions.
-/
@[category research solved, AMS 11]
theorem erdos_373.variants.of_limit
    (H : Filter.atTop.Tendsto (fun (n : ℕ) => (n*(n+1)).maxPrimeFac / (n : ℝ).log) Filter.atTop) :
    S.Finite := by
  sorry

-- Formalisation note: at the time of writing, the website states "Erdős proved that this problem
-- would also follow from showing that $P(n(n - 1)) > 4\log n$". This is slightly unclear
-- as to which $n$ is meant here, as for example the inequality fails for $n = 4$.
-- The referenced material (Theorem 2 of https://users.renyi.hu/~p_erdos/1976-39.pdf), shows
-- that no non-trivial solutions hold for any `n` with `n > n_0` and `P(n(n - 1)) > 4 log n`.
-- So for finiteness, it is enough to assume the inequality holds for sufficiently large `n`.
/--
Show that if `P(n(n−1)) > 4 log n` for large enough `n`, where `P(m)` denotes the
largest prime factor of `m`, then the equation `n!=a_1!a_2!···a_k!`, with
`n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k`, has only finitely many solutions.
-/
@[category research solved, AMS 11]
theorem erdos_373.variants.of_lower_bound
    (H : ∀ᶠ (n : ℕ) in Filter.atTop, 4*(n : ℝ).log < (n*(n-1 : ℕ)).maxPrimeFac) :
    S.Finite := by
  sorry

/--
Hickerson conjectured the largest solution the equation `n!=a_1!a_2!···a_k!`, with
`n−1 > a_1 ≥ a_2 ≥ ··· ≥ a_k`, is `16!=14!5!2!`.
-/
@[category research open, AMS 11]
theorem erdos_373.variants.maximal_solution :
    (16, [14, 5, 2]) ∈ S ∧ ∀ s ∈ S, s.fst ≤ 16 := by
  sorry

/--
Surányi was the first to conjecture that the only non-trivial solution to `a!b!=n!`
is `6!7!=10!`.
-/
@[category research open, AMS 11]
theorem erdos_373.variants.suranyi :
    {(n, a, b) : ℕ × ℕ × ℕ | n ! = a ! * b ! ∧ 1 < n ∧ 1 < a ∧ 1 < b ∧ b ≤ a ∧ a + 1 ≠ n}
      = {(10, 7, 6)} := by
  sorry

end Erdos373

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

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