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 860

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 h(n)h(n) be such that, for any m≥1m\geq 1, in the interval (m,m+h(n))(m,m+h(n)) there exist distinct integers aia_i for 1≤i≤π(n)1\leq i\leq \pi(n) such that pi∣aip_i\mid a_i, where pip_i denotes the iith prime.

Estimate h(n)h(n).

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

Formal statement

theorem erdos_860 : (fun n ↦ (h n : ℝ)) =Θ[atTop] erdos_860.answer
Show the full Challenge.lean (102 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 860

*References:*
- [erdosproblems.com/860](https://www.erdosproblems.com/860)
- [ErPo80] Erdős, P. and Pomerance, C., *Matching the natural numbers up to $n$ with distinct
  multiples in another interval*. Nederl. Akad. Wetensch. Indag. Math. 42 (1980), 147-161.
  [PDF](https://www.renyi.hu/~p_erdos/1980-13.pdf)
- [Er92c] Erdős, P., *Some of my forgotten problems in number theory*. Hardy-Ramanujan J. 15
  (1992), 34-50. [PDF](https://hrj.episciences.org/125/pdf)
-/

@[expose] public section

open Filter Asymptotics

namespace Erdos860

/-- There are distinct integers $a_1,\ldots,a_{\pi(n)}$ in the open interval $(m,m+L)$ such that
$p_i \mid a_i$ for every $1 \leq i \leq \pi(n)$, where $p_i$ is the $i$th prime. Primes are
indexed from $0$ by `Nat.nth Nat.Prime`, so $p_i$ is `Nat.nth Nat.Prime (i - 1)`. -/
def HasPrimeMultiples (n m L : ℕ) : Prop :=
  ∃ a : Fin (Nat.primeCounting n) → ℕ,
    Function.Injective a ∧ ∀ i, m < a i ∧ a i < m + L ∧ Nat.nth Nat.Prime i.val ∣ a i

/-- $h(n)$: the least $L$ such that for every $m \geq 1$ the open interval $(m,m+L)$ contains
distinct integers $a_1,\ldots,a_{\pi(n)}$ with $p_i \mid a_i$, where $p_i$ is the $i$th prime.

The set of such $L$ is nonempty: $L = n\pi(n)+1$ works, since each $p_i \leq n$ has at least
$\pi(n)$ multiples in $(m,m+L)$, so the $a_i$ can be chosen one by one. So `sInf` is the true
minimum. For $n < 2$ there are no primes and $h(n) = 0$. -/
noncomputable def h (n : ℕ) : ℕ :=
  sInf {L : ℕ | ∀ m, 1 ≤ m → HasPrimeMultiples n m L}

/-- Any $L$ that works for every $m \geq 1$ is an upper bound for $h(n)$. -/
@[category API, AMS 11]
theorem h_le {n L : ℕ} (hL : ∀ m, 1 ≤ m → HasPrimeMultiples n m L) : h n ≤ L :=
  Nat.sInf_le hL

def erdos_860.answer : ℕ → ℝ := sorry

/--
Let $h(n)$ be such that, for any $m\geq 1$, in the interval $(m,m+h(n))$ there exist distinct
integers $a_i$ for $1\leq i\leq \pi(n)$ such that $p_i\mid a_i$, where $p_i$ denotes the $i$th
prime.

Estimate $h(n)$.
-/
@[category research open, question value, AMS 11]
theorem erdos_860 : (fun n ↦ (h n : ℝ)) =Θ[atTop] erdos_860.answer := by
  sorry

/--
Erdős and Pomerance [ErPo80] proved that
$$h(n) \ll \frac{n^{3/2}}{(\log n)^{1/2}}.$$
-/
@[category research solved, AMS 11]
theorem erdos_860.variants.erdos_pomerance_upper :
    (fun n : ℕ ↦ (h n : ℝ)) =O[atTop]
      fun n : ℕ ↦ (n : ℝ) ^ (3 / 2 : ℝ) / Real.sqrt (Real.log n) := by
  sorry

/--
Erdős and Selfridge proved $h(n)>(3-o(1))n$.

[ErPo80, (19), p. 159] states this as $\limsup h(n)/n \geq 3$, that is, it holds for infinitely
many $n$. We state that form.
-/
@[category research solved, AMS 11]
theorem erdos_860.variants.erdos_selfridge_lower :
    ∀ ε > (0 : ℝ), ∃ᶠ n : ℕ in atTop, (3 - ε) * n ≤ (h n : ℝ) := by
  sorry

/--
Ruzsa proved $h(n)/n\to \infty$, as reported in [Er92c, p. 36].
-/
@[category research solved, AMS 11]
theorem erdos_860.variants.ruzsa :
    Tendsto (fun n : ℕ ↦ (h n : ℝ) / n) atTop atTop := by
  sorry

end Erdos860

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

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