/- Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ module public import FormalConjecturesUtil /-! # Erdős Problem 1100 *References:* - [erdosproblems.com/1100](https://www.erdosproblems.com/1100) - [ErHa78] Erdős, P. and Hall, R. R., *On some unconventional problems on the divisors of integers*. J. Austral. Math. Soc. Ser. A 25 (1978), 479-485. [PDF](https://www.renyi.hu/~p_erdos/1978-26.pdf) - [Er81h] Erdős, P., *Some problems and results on additive and multiplicative number theory*. Analytic number theory (Philadelphia, Pa., 1980) (1981), 171-182. [PDF](https://www.renyi.hu/~p_erdos/1981-33.pdf) - [ErTe89] Erdős, P. and Tenenbaum, G., *Sur les fonctions arithmétiques liées aux diviseurs consécutifs*. J. Number Theory 31 (1989), 285-311. [PDF](https://www.renyi.hu/~p_erdos/1989-37.pdf) The function $\tau_\perp(n)$ is called $\tau_r(n)$ in [Er81h] and $f(n)$ in [ErHa78] and [ErTe89]. -/ @[expose] public section open Filter Asymptotics open scoped ArithmeticFunction.omega namespace Erdos1100 /-- $\tau_\perp(n)$ is the number of indices $i$ such that the divisors $d_i0$ one has $\tau_\perp(n)<\exp((\log n)^{\epsilon})$; the problem page asks it as a question. We read $o(1)$ as: for every $\epsilon>0$ and all sufficiently large $n$. This is equivalent to a bound for all $n$ with an exponent that tends to $0$. A bound for all $n$ with a fixed small $\epsilon$ fails: for example $\tau_\perp(30)=4>\exp((\log 30)^{0.1})$. The answer is no. Erdős and Tenenbaum [ErTe89, Theorem 4, p. 289] proved $\max_{n\leq x}\tau_\perp(n)\geq\exp\bigl(((\log 2)^2+o(1))\log x/(\log\log x)^2\bigr)$ (see `erdos_1100.variants.erdos_tenenbaum_max`). This gives infinitely many $n$ with $\tau_\perp(n)>\exp((\log n)^{1/2})$. -/ @[category research solved, question, AMS 11] theorem erdos_1100.parts.ii : ¬ ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop, (tauPerp n : ℝ) < Real.exp (Real.log n ^ ε) := by sorry def erdos_1100.parts.iii.answer : ℕ → ℝ := sorry /-- Let $$g(k) = \max_{\omega(n)=k}\tau_\perp(n),$$ where $\omega(n)$ counts the number of distinct prime divisors of $n$, and $n$ is restricted to squarefree integers. Determine the growth of $g(k)$. This is the third part. We read "determine the growth" as $g(k)=\Theta(\texttt{answer}\ k)$. Known bounds are $(\sqrt2+o(1))^kp_1\cdots p_{i-1}$ for $2\leq i\leq k$. Such $n$ exist for every $k$, which we state. -/ @[category research solved, AMS 11] theorem erdos_1100.variants.eq_omega (k : ℕ) : ∃ n : ℕ, Squarefree n ∧ ω n = k ∧ tauPerp n = k := by sorry /-- Erdős and Hall [ErHa78, Theorem 1, p. 480] prove, for all $\epsilon>0$ and sufficiently large $x$, $$\max_{n \exp((\log\log x)^{2-\epsilon}).$$ We write the maximum as: some $n0$ and the maximum as: some $n\leq x$ has $\tau_\perp(n)$ above the bound. -/ @[category research solved, AMS 11] theorem erdos_1100.variants.erdos_tenenbaum_max : ∀ δ : ℝ, 0 < δ → ∀ᶠ x : ℝ in atTop, ∃ n : ℕ, (n : ℝ) ≤ x ∧ Real.exp (((Real.log 2) ^ 2 - δ) * Real.log x / (Real.log (Real.log x)) ^ 2) ≤ (tauPerp n : ℝ) := by sorry /-- Erdős and Tenenbaum [ErTe89, Corollary 2, p. 288] proved that for almost all $n$ (that is, on a set of density $1$) $$(\log n)^{\log 3-1+o(1)}\leq \tau_\perp(n)\leq (\log n)^{\log 2-1/2+o(1)}.$$ The paper credits the upper bound to an earlier work of the same authors (Bull. Soc. Math. France 111 (1983)). We write $o(1)$ as: for every $\epsilon>0$ the set of $n$ with both bounds, with exponents shifted by $\mp\epsilon$, has density $1$. -/ @[category research solved, AMS 11] theorem erdos_1100.variants.normal_order : ∀ ε : ℝ, 0 < ε → {n : ℕ | Real.log n ^ (Real.log 3 - 1 - ε) ≤ (tauPerp n : ℝ) ∧ (tauPerp n : ℝ) ≤ Real.log n ^ (Real.log 2 - 1 / 2 + ε)}.HasDensity 1 := by sorry /-- Erdős and Simonovits (see [Er81h, p. 173]) proved $$(2^{1/2}+o(1))^k < g(k) < (2-c)^k$$ for some constant $c>0$. We write the lower bound as: every fixed $0\leq r<\sqrt2$ satisfies $r^k