Title:Erdős Problem 448
Statement:Let count the divisors of and count the number of such that has a divisor in . Is it true that, for all , for almost all ?
This is false, and was disproved by Erdős and Tenenbaum [ErTe81], who showed that in fact the upper density of the set of such is (where the in the exponent as ). A more precise result was proved by Hall and Tenenbaum [HaTe88] (see Section 4.6), who showed that the upper density is . Hall and Tenenbaum further prove that has a distribution function. Erdős and Graham also asked whether there is a good inequality known for . This was provided by Ford [Fo08] who proved where
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.02177 [math.NT] · NS.02177v1 for this version |
| Declaration: | Erdos448.erdos_448 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 61f634d353f59e7fae4869f51642cad9fd803645c94203d9faeb80f039c6edd7 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/448.lean |
Formal statement
theorem erdos_448 :
¬ ∀ ε : ℝ, 0 < ε →
{n : ℕ | (tauPlus n : ℝ) < ε * (n.divisors.card : ℝ)}.HasDensity 1Show the full Challenge.lean (143 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 448
*References:*
- [erdosproblems.com/448](https://www.erdosproblems.com/448)
- [OEIS A397433](https://oeis.org/A397433): the integer sequence $\tau^+(n)$
(the constant $\alpha$ in Ford's asymptotic is [OEIS A074738](https://oeis.org/A074738)).
- [Er79] Erdős, Paul, Some unconventional problems in number theory. Math. Mag. (1979), 67-70.
- [Er79e] Erdős, Paul, Some unconventional problems in number theory. Astérisque (1979), 73-82.
- [HaTe88] Hall, Richard R. and Tenenbaum, Gérald, Divisors. (1988), xvi+167.
- [ErTe81] Erdős, P., Tenenbaum, G., *Sur la structure de la suite des diviseurs d'un entier.*
Ann. Inst. Fourier (Grenoble) **31** (1981), 17–37.
- [Fo08] Ford, Kevin, *The distribution of integers with a divisor in a given interval.*
Ann. of Math. (2) **168** (2008), 367–433.
- [Te13] Tenenbaum, Gérald, *Some of Erdős' unconventional problems in number theory, thirty-four
years later.* Erdős Centennial, Bolyai Soc. Math. Stud. **25** (2013), 651–681.
-/
@[expose] public section
namespace Erdos448
open Filter Asymptotics Topology
/-- `tauPlus n` (written $\tau^+(n)$) counts the number of $k$ such that $n$ has a divisor in
$[2^k, 2^{k+1})$. Equivalently, the number of distinct values $\lfloor \log_2 d \rfloor$ as $d$
ranges over the divisors of $n$: a divisor $d$ lies in $[2^k, 2^{k+1})$ iff `Nat.log 2 d = k`. -/
def tauPlus (n : ℕ) : ℕ := (n.divisors.image (Nat.log 2)).card
/-- Sanity check: $\tau^+(6) = 3$. Divisors $1, 2, 3, 6$ lie in dyadic blocks $k = 0, 1, 1, 2$,
so the distinct blocks are $\{0, 1, 2\}$. ($\tau(6) = 4$.) -/
@[category test, AMS 11]
theorem tauPlus_six : tauPlus 6 = 3 := by decide
/-- Sanity check: $\tau^+(12) = 4$. Divisors $1, 2, 3, 4, 6, 12$ lie in dyadic blocks
$k = 0, 1, 1, 2, 2, 3$, so the distinct blocks are $\{0, 1, 2, 3\}$. ($\tau(12) = 6$.) -/
@[category test, AMS 11]
theorem tauPlus_twelve : tauPlus 12 = 4 := by decide
/-- Always $\tau^+(n) \le \tau(n)$: the occupied dyadic blocks are the image of the divisor set
under `Nat.log 2`, and an image has at most as many elements as its source. This is what makes the
$\epsilon < 1$ comparison in the problem meaningful. -/
@[category test, AMS 11]
theorem tauPlus_le_tau (n : ℕ) : tauPlus n ≤ n.divisors.card :=
Finset.card_image_le
set_option linter.style.formal_proof_palomar false in
/--
Let $\tau(n)$ count the divisors of $n$ and $\tau^+(n)$ count the number of $k$ such that $n$ has a
divisor in $[2^k, 2^{k+1})$. Is it true that, for all $\epsilon > 0$,
$$ \tau^+(n) < \epsilon \cdot \tau(n) $$
for almost all $n$?
This is false, and was disproved by Erdős and Tenenbaum [ErTe81], who showed that in fact the upper
density of the set of such $n$ is $\asymp \epsilon^{1-o(1)}$ (where the $o(1)$ in the exponent
$\to 0$ as $\epsilon \to 0$). A more precise result was proved by Hall and Tenenbaum [HaTe88]
(see Section 4.6), who showed that the upper density is $\ll \epsilon \log(2/\epsilon)$. Hall and
Tenenbaum further prove that $\tau^+(n)/\tau(n)$ has a distribution function. Erdős and Graham also
asked whether there is a good inequality known for $\sum_{n \leq x} \tau^+(n)$. This was provided by
Ford [Fo08] who proved
$$ \sum_{n \leq x} \tau^+(n) \asymp x\frac{(\log x)^{1-\alpha}}{(\log\log x)^{3/2}} $$
where
$$ \alpha = 1-\frac{1+\log\log 2}{\log 2} = 0.08607\cdots. $$
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos448.lean#L35"]
theorem erdos_448 :
¬ ∀ ε : ℝ, 0 < ε →
{n : ℕ | (tauPlus n : ℝ) < ε * (n.divisors.card : ℝ)}.HasDensity 1 := by
sorry
/--
Quantitative form of the (negative) answer to `erdos_448`. Erdős and Tenenbaum [ErTe81] showed that
the upper density of $\{n : \tau^+(n) < \epsilon \cdot \tau(n)\}$ is in fact
$\asymp \epsilon^{1 - o(1)}$, where the $o(1)$ in the exponent tends to $0$ as $\epsilon \to 0$.
Equivalently, $\log(\text{upper density}) / \log \epsilon \to 1$ as $\epsilon \to 0^+$. -/
@[category research solved, AMS 11]
theorem erdos_448.variants.erdos_tenenbaum :
Tendsto
(fun ε : ℝ =>
Real.log ({n : ℕ | (tauPlus n : ℝ) < ε * (n.divisors.card : ℝ)}.upperDensity) / Real.log ε)
(𝓝[>] (0 : ℝ)) (𝓝 (1 : ℝ)) := by
sorry
/--
A more precise result of Hall and Tenenbaum [HaTe88, §4.6]: the upper density of
$\{n : \tau^+(n) < \epsilon \cdot \tau(n)\}$ is $\ll \epsilon \cdot \log(2/\epsilon)$ as
$\epsilon \to 0^+$. -/
@[category research solved, AMS 11]
theorem erdos_448.variants.hall_tenenbaum_upper_bound :
(fun ε : ℝ => ({n : ℕ | (tauPlus n : ℝ) < ε * (n.divisors.card : ℝ)}).upperDensity)
=O[𝓝[>] (0 : ℝ)] (fun ε : ℝ => ε * Real.log (2 / ε)) := by
sorry
/--
Hall and Tenenbaum [HaTe88] further prove that $\tau^+(n)/\tau(n)$ has a distribution function:
there is a distribution function `F` (non-decreasing, with $F(-\infty) = 0$ and $F(+\infty) = 1$)
such that, for every continuity point $z$ of `F`, the set $\{n : \tau^+(n)/\tau(n) \le z\}$ has
density `F z`. Tenenbaum [Te13] proved that `F` is continuous at $z = 1$ and asked to determine
its discontinuity points, if any. -/
@[category research solved, AMS 11]
theorem erdos_448.variants.hall_tenenbaum_distribution :
∃ F : ℝ → ℝ, Monotone F ∧ Tendsto F atBot (𝓝 0) ∧ Tendsto F atTop (𝓝 1) ∧
∀ z : ℝ, ContinuousAt F z →
{n : ℕ | (tauPlus n : ℝ) / (n.divisors.card : ℝ) ≤ z}.HasDensity (F z) := by
sorry
/--
Erdős and Graham asked whether there is a good inequality for $\sum_{n \le x} \tau^+(n)$. This was
answered by Ford [Fo08], who proved
$$ \sum_{n \le x} \tau^+(n) \asymp x \cdot \frac{(\log x)^{1 - \alpha}}{(\log\log x)^{3/2}}, $$
where $\alpha = 1 - \frac{1 + \log\log 2}{\log 2} = 0.08607\ldots$. -/
@[category research solved, AMS 11]
theorem erdos_448.variants.ford :
(fun x : ℕ => ∑ n ∈ Finset.Icc 1 x, (tauPlus n : ℝ))
=Θ[atTop]
(fun x : ℕ =>
let α : ℝ := 1 - (1 + Real.log (Real.log 2)) / Real.log 2
(x : ℝ) * Real.log (x : ℝ) ^ (1 - α)
/ Real.log (Real.log (x : ℝ)) ^ ((3 : ℝ) / 2)) := by
sorry
end Erdos448
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos448.erdos_448 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_448 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-448 nosorry submit erdos-448 nosorry/erdos-448/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-448-variants-erdos-tenenbaum — known result
- erdos-448-variants-hall-tenenbaum-upper-bound — known result
- erdos-448-variants-hall-tenenbaum-distribution — known result
- erdos-448-variants-ford — 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.