Index of theproofnetwork/open-problems@860a535/FormalConjectures/ErdosProblems/Erdos413.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

92 lines · 3.8 kBraw
/-Copyright 2025 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, softwaredistributed 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 andlimitations under the License.-/module public import FormalConjecturesUtil /-!# Erdős Problem 413 *References:*- [erdosproblems.com/413](https://www.erdosproblems.com/413)- [A5236](https://oeis.org/A5236)- [La26] Lau, C. F., *On the Number of Prime Factors of Consecutive Integers*.  [arXiv:2604.15042](https://arxiv.org/abs/2604.15042) (2026). Erdős called a natural number `n` a *barrier* for `ω`, the number of distinct prime divisors,if `m + ω(m) ≤ n` for all `m < n`. He believed there should be infinitely many such barriers, andeven posed a relaxed variant asking whether there is some `ε > 0` for which infinitely many `n`satisfy `m + ε · ω(m) ≤ n` for every `m < n`.-/ @[expose] public section open ArithmeticFunctionopen scoped omega Omega namespace Erdos413 /-- `IsBarrier f n` means `n` is a barrier for the real-valued function `f`,i.e. `(m : ℝ) + f m ≤ (n : ℝ)` for all `m < n`. -/def IsBarrier (f : ℕ → ℝ) (n : ℕ) : Prop :=  ∀ m < n, (m : ℝ) + f m ≤ n /-- Are there infinitely many barriers for `ω`? -/@[category research open, question, AMS 11]theorem erdos_413.parts.i :    { n | IsBarrier (fun m => ω m) n }.Infinite := by  sorry /-- `expProd n` is `∏ kᵢ` when `n = ∏ pᵢ ^ kᵢ`, i.e. the product of the prime exponents of `n`. -/def expProd (n : ℕ) : ℕ :=  n.factorization.prod fun _ e => e /-- Erdős proved that the barrier set for `expProd` is infinite and even has positive density. `HasPosDensity` is the right reading rather than positive lower density. In [Er79d] this isTheorem 1, "the density of integers satisfying (2) is positive", where `d₀(n) = ∏ αᵢ` is`expProd`. The averaging argument there bounds the density below, but Erdős states the existenceseparately on the last page: "With a little more trouble, I can prove that the density ofintegers `n` for which `n` is a barrier for `d₀(n)` exists." He goes further, that if `αᵢ` is thedensity of `n` with `max_{m<n} (m + d₀(m)) = n + i`, then every `αᵢ` exists and they sum to `1`. [Er79d] Erdős, P., *Some unconventional problems in number theory*.Acta Math. Acad. Sci. Hungar. (1979), 71-80. -/@[category research solved, AMS 11]theorem erdos_413.variants.hasPosDensity_barrier_expProd :    { n | IsBarrier (fun m => expProd m) n }.HasPosDensity := by  sorry /-- Erdős believed there should be infinitely many barriers for `Ω`, the total prime multiplicity. -/@[category research open, question, AMS 11]theorem erdos_413.variants.bigOmega :    { n | IsBarrier (fun m => Ω m) n }.Infinite := by  sorry /-- Selfridge computed that the largest `Ω`-barrier below `10^5` is `99840`. -/@[category research solved, AMS 11]theorem erdos_413.variants.bigOmega_largest_barrier_lt_100k :    IsGreatest {n : ℕ | n < 10 ^ 5 ∧ IsBarrier (fun m => Ω m) n} 99840 := by  sorry /-- Does there exist some $\epsilon > 0$ such that there are infinitely many$\epsilon$-barriers for $\omega$? Lau [La26, Theorem 1.3] gives a positive answer. -/@[category research solved, question, AMS 11]theorem erdos_413.parts.ii :    (∃ ε > (0 : ℝ), { n | IsBarrier (fun n => ε * ω n) n }.Infinite) := by  sorry end Erdos413

download (.tar)