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 889 · variants.v0_gt_1

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

v0(n)>1v_0(n) > 1 for all nn except nn = 0, 1, 2, 3, 4, 7, 8, 16

[ErSe67] Erdős, P. and Selfridge, J. L., Some problems on the prime factors of consecutive integers. Illinois J. Math. (1967), 428--430.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.03529 [math.NT] · NS.03529v1 for this version
Declaration:Erdos889.erdos_889.variants.v0_gt_1
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:e9325f04830a85682bdba9eb950dd2df6451744f2e79554d4ae892429a289d69
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/889.lean

Formal statement

theorem erdos_889.variants.v0_gt_1 :
    ∀ n : ℕ, n ∉ ({0, 1, 2, 3, 4, 7, 8, 16} : Finset ℕ) → 1 < v₀ n
Show the full Challenge.lean (129 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 889

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

@[expose] public section

open Finset Nat Filter Topology

namespace Erdos889

/--
$v(n,k)$ counts the prime factors of $n+k$ which do not divide $n+i$
for all $0 \le i < k$.
-/
def v (n k : ℕ) : ℕ :=
  ((n + k).primeFactors.filter (fun p =>
    ∀ i ∈ range k, ¬ p ∣ n + i)).card

/--
$v_0(n)$ is the supremum of $v(n,k)$ for all $k \ge 0$.
-/
noncomputable def v₀ (n : ℕ) : ℕ∞ :=
  ⨆ k, (v n k : ℕ∞)

/--
Let $v(n,k)$ count the prime factors of $n+k$ which
do not divide $n+i$ for $0\leq i < k$. Is it true that
$v_0(n)=\max_{k\geq 0}v(n,k)\to \infty$ as $n\to \infty$?
-/
@[category research open, AMS 11]
theorem erdos_889 : Tendsto v₀ atTop (𝓝 ⊤) := by
  sorry

/--
$v_0(n) > 1$ for all $n$ except $n$ = 0, 1, 2, 3, 4, 7, 8, 16

[ErSe67] Erdős, P. and Selfridge, J. L., Some problems on the prime factors of consecutive integers. Illinois J. Math. (1967), 428--430.
-/
@[category research solved, AMS 11]
theorem erdos_889.variants.v0_gt_1 :
    ∀ n : ℕ, n ∉ ({0, 1, 2, 3, 4, 7, 8, 16} : Finset ℕ) → 1 < v₀ n := by
  sorry

/--
$v_l(n)$ is the supremum of $v(n,k)$ for all $k \ge l$
-/
noncomputable def v_l (l n : ℕ) : ℕ∞ :=
  ⨆ k ≥ l, (v n k : ℕ∞)

/--
Let $v_l(n) = \max_{k\geq l} v(n,k)$. For every fixed $l$,
$v_l(n) \to \infty$ as $n \to \infty$

[ErSe67] Erdős, P. and Selfridge, J. L., Some problems on the prime factors of consecutive integers. Illinois J. Math. (1967), 428--430.
-/
@[category research open, AMS 11]
theorem erdos_889.variants.general :
    ∀ l, Tendsto (v_l l) atTop (𝓝 ⊤) := by
  sorry

/--
Does $v_1(n) = 1$ have finite solutions?

[ErSe67] Erdős, P. and Selfridge, J. L., Some problems on the prime factors of consecutive integers. Illinois J. Math. (1967), 428--430.
-/
@[category research open, question, AMS 11]
theorem erdos_889.variants.v1_eq_1_finite :
    {n | v_l 1 n = 1}.Finite := by
  sorry

/--
$V(n,k)$ is the number of primes $p$ such that
$p^\alpha$ exactly divides $n+k$ and
for all $0 \le i < k$, $p^\alpha$ does not divide $n+i$,
where $\alpha$ is the multiplicity of $p$ in the factorization of $n+k$.
-/
def V (n k : ℕ) : ℕ :=
  ((n + k).primeFactors.filter (fun p =>
    ∀ i ∈ range k, ¬ p ^ ((n + k).factorization p) ∣ n + i)).card

/--
$V_l(n)$ is the supremum of $V(n,k)$ for all $k \ge l$
-/
noncomputable def V_l (l n : ℕ) : ℕ∞ :=
  ⨆ k ≥ l, (V n k : ℕ∞)

set_option linter.style.formal_proof_palomar false in
/--
Does $V_1(n) = 1$ have finite solutions?

This is a modification of `erdos_889.variants.v1_eq_1_finite`,
which might make it more amenable to attack according to [ErSe67].

Kenta Kitamura (KitaKen1 on GitHub) has given a Lean proof
([erdos-889-capital-v1-finite](https://github.com/KitaKen1/erdos-889-capital-v1-finite))
that there are only finitely many $n$ with $V_1(n) = 1$.

[ErSe67] Erdős, P. and Selfridge, J. L., Some problems on the prime factors of consecutive integers. Illinois J. Math. (1967), 428--430.
-/
@[category research solved, question, AMS 11,
  formal_proof using lean4 at
    "https://github.com/KitaKen1/erdos-889-capital-v1-finite/blob/44d38dd7f618dbaa0b08fb976c0378b4897021cd/lean/Erdos889V1FiniteFC.lean#L999-L1004"]
theorem erdos_889.variants.V1_eq_1_finite :
    {n | V_l 1 n = 1}.Finite := by
  sorry

end Erdos889

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

nosorry desk erdos-889--erdos-889-variants-v0-gt-1      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-889--erdos-889-variants-v0-gt-1
nosorry submit erdos-889--erdos-889-variants-v0-gt-1 nosorry/erdos-889--erdos-889-variants-v0-gt-1/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.