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 663

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:

Let k≥2k \geq 2, and let q(n,k)q(n,k) denote the least prime which does not divide ∏1≤i≤k(n+i)\prod_{1 \leq i \leq k}(n+i). Is it true that, if kk is fixed and nn is sufficiently large, then q(n,k)<(1+o(1))log⁡nq(n,k) < (1+o(1))\log n?

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

Formal statement

theorem erdos_663 : ∀ k ≥ 2, ∃ error : ℕ → ℝ,
    error =o[atTop] (fun _ ↦ (1 : ℝ)) ∧ ∀ᶠ n in atTop,
      let P : ℕ := ∏ i ∈ Finset.Icc 1 k, (n + i)
      ∃ q : ℕ, q.Prime ∧ ¬ q ∣ P ∧ (∀ p : ℕ, p.Prime → ¬ p ∣ P → q ≤ p) ∧
        (q : ℝ) < (1 + error n) * Real.log n
Show the full Challenge.lean (53 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 663

*References:*
- [erdosproblems.com/663](https://www.erdosproblems.com/663)
- [BEGL96] Burr, S. A., Erdős, P., Graham, R. L., and Li, W. W.-C.,
  *Complete sequences of sets of integer powers*. Acta Arith. (1996), 133–138.
- [Er97e] Erdős, Paul, *Some of my favourite unsolved problems*.
  Math. Japon. (1997), 527–537.
-/

@[expose] public section

namespace Erdos663

open Filter Asymptotics
open scoped BigOperators

/-- Let $k \geq 2$, and let $q(n,k)$ denote the least prime which does not divide
$\prod_{1 \leq i \leq k}(n+i)$. Is it true that, if $k$ is fixed and $n$ is sufficiently
large, then $q(n,k) < (1+o(1))\log n$? -/
@[category research open, question, AMS 11]
theorem erdos_663 : ∀ k ≥ 2, ∃ error : ℕ → ℝ,
    error =o[atTop] (fun _ ↦ (1 : ℝ)) ∧ ∀ᶠ n in atTop,
      let P : ℕ := ∏ i ∈ Finset.Icc 1 k, (n + i)
      ∃ q : ℕ, q.Prime ∧ ¬ q ∣ P ∧ (∀ p : ℕ, p.Prime → ¬ p ∣ P → q ≤ p) ∧
        (q : ℝ) < (1 + error n) * Real.log n := by
  sorry

-- TODO: Formalize the easy bound $q(n,k) < (1+o(1))k\log n$ recorded in the source.

end Erdos663

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

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