/-
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, 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.
-/
import FormalConjecturesUtilErdős Problem 678
[Ca24] S. Cambie, Resolution of an Erdős' problem on least common multiples. arXiv:2410.09138 (2024).
[Er79] Erdős, Paul, Some unconventional problems in number theory. Math. Mag. (1979), 67-70.
[Er92e] Erdős, Pál, Some Unsolved problems in Geometry, Number Theory and Combinatorics. Eureka (1992), 44-48.
open Asymptotics Filter Finset
namespace Erdos678
The referee of [Er79] found the example $M(96, 7) > M(104, 8)$, showing that there are cases where $M(n, k) > M(m, k + 1)$ with $m \geq n + k$. [Er79] Erdős, Paul, Some unconventional problems in number theory. Math. Mag. (1979), 67-70.
@[category test, AMS 11]
lemma lcmInterval_lt_example1 : lcmInterval 104 8 < lcmInterval 96 7 := ⊢ lcmInterval 104 8 < lcmInterval 96 7 All goals completed! 🐙
The referee of [Er79] found the example $M(132, 7) > M(139, 8)$, showing that there are cases where $M(n, k) > M(m, k + 1)$ with $m \geq n + k$. [Er79] Erdős, Paul, Some unconventional problems in number theory. Math. Mag. (1979), 67-70.
@[category test, AMS 11]
lemma lcmInterval_lt_example2 : lcmInterval 139 8 < lcmInterval 132 7 := ⊢ lcmInterval 139 8 < lcmInterval 132 7 All goals completed! 🐙
Cambie [Ca24] found the example $M(52, 7) > M(62, 8)$. [Ca24] S. Cambie, Resolution of an Erdős' problem on least common multiples. arXiv:2410.09138 (2024).
@[category test, AMS 11]
lemma lcmInterval_lt_example3 : lcmInterval 62 8 < lcmInterval 52 7 := ⊢ lcmInterval 62 8 < lcmInterval 52 7 All goals completed! 🐙
Cambie [Ca24] found the example $M(36, 8) > M(48, 9)$. [Ca24] S. Cambie, Resolution of an Erdős' problem on least common multiples. arXiv:2410.09138 (2024).
@[category test, AMS 11]
lemma lcmInterval_lt_example4 : lcmInterval 47 9 < lcmInterval 36 8 := ⊢ lcmInterval 47 9 < lcmInterval 36 8 All goals completed! 🐙
Write $M(n, k)$ be the least common multiple of ${n+1, \dotsc, n+k}$. Let $k$ be sufficiently large. Are there infinitely many $m, n$ with $m \geq n + k$ such that $$ M(n, k) > M(m, k + 1) $$? The answer is yes, as proved in a strong form by Cambie [Ca24]. [Ca24] S. Cambie, Resolution of an Erdős' problem on least common multiples. arXiv:2410.09138 (2024).
This was formalized in Lean by Alexeev using Aristotle, conditional on asymptotic estimates for the
prime counting function (specifically pi_alt from the PNT+ project).
See the formal proof.
@[category research solved, AMS 11]
theorem erdos_678 : answer(True) ↔
∀ᶠ k in atTop, {(m, n) | n + k ≤ m ∧ lcmInterval m (k + 1) < lcmInterval n k}.Infinite := ⊢ True ↔ ∀ᶠ (k : ℕ) in atTop, {(m, n) | n + k ≤ m ∧ lcmInterval m (k + 1) < lcmInterval n k}.Infinite
All goals completed! 🐙
end Erdos678