Title:Erdős Problem 964
Statement:Let count the number of divisors of . Is the sequence everywhere dense in ?
The answer is yes, proved by Eberhard [Eb25].
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.03791 [math.NT] · NS.03791v1 for this version |
| Declaration: | Erdos964.erdos_964 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 80282aff041c5c9233af044d5679d73f346130586f393f28be506979e80acdd7 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/964.lean |
Formal statement
theorem erdos_964 : Set.Ioi (0 : ℝ) ⊆ closure (tauRatio '' Set.Ici 1)Show the full Challenge.lean (74 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 964
*References:*
- [erdosproblems.com/964](https://www.erdosproblems.com/964)
- [Er86b] Erdős, P., *Some problems on number theory*. Proceedings of the seventeenth Southeastern
international conference on combinatorics, graph theory, and computing (Boca Raton, Fla.,
1986), Congr. Numer. 54 (1986), 225-244.
- [Eb25] Eberhard, S., *Ratios of consecutive values of the divisor function*.
[arXiv:2505.00727](https://arxiv.org/abs/2505.00727) (2025).
-/
@[expose] public section
open scoped ArithmeticFunction.sigma
namespace Erdos964
/-- $\tau(n+1)/\tau(n)$ as a real number, where $\tau = \sigma_0$ counts divisors. For $n = 0$
this is the junk value $0$, so the statements below use $n \geq 1$. -/
noncomputable def tauRatio (n : ℕ) : ℝ := (σ 0 (n + 1) : ℝ) / (σ 0 n : ℝ)
/-- For $n \geq 1$ the ratio $\tau(n+1)/\tau(n)$ is positive. -/
@[category API, AMS 11]
theorem tauRatio_pos {n : ℕ} (hn : 0 < n) : 0 < tauRatio n := by
unfold tauRatio
have h1 : 0 < σ 0 (n + 1) := ArithmeticFunction.sigma_pos_iff.2 (Nat.succ_pos n)
have h2 : 0 < σ 0 n := ArithmeticFunction.sigma_pos_iff.2 hn
exact div_pos (Nat.cast_pos.2 h1) (Nat.cast_pos.2 h2)
set_option linter.style.formal_proof_palomar false in
/--
Let $\tau(n)$ count the number of divisors of $n$. Is the sequence
$$\frac{\tau(n+1)}{\tau(n)}$$
everywhere dense in $(0,\infty)$?
The answer is yes, proved by Eberhard [Eb25].
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos964.lean#L1559"]
theorem erdos_964 : Set.Ioi (0 : ℝ) ⊆ closure (tauRatio '' Set.Ici 1) := by
sorry
/--
Eberhard [Eb25] proved that the ratios $\tau(n+1)/\tau(n)$ attain every positive rational value
infinitely many times. Since the positive rationals are dense in $(0,\infty)$, this implies
`erdos_964`.
-/
@[category research solved, AMS 11]
theorem erdos_964.variants.eberhard (q : ℚ) (hq : 0 < q) :
{n : ℕ | 0 < n ∧ tauRatio n = q}.Infinite := by
sorry
end Erdos964
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos964.erdos_964 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_964 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-964 nosorry submit erdos-964 nosorry/erdos-964/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-964-variants-eberhard — known result
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.