Coprime divisibility classes forced by gaps at most two
ProvedErdos287.lcm_contains_all_but_one_small_coprime_modulusegyptian-fractionserdos-problemsnumber-theory
Suppose contains at least one member of every consecutive pair in . If positive coprime integers have , at least one divides . Consequently, for any pairwise coprime family of positive moduli at most with , at most one modulus fails to divide .
Preamble
import Mathlib
Formal statement
theorem Erdos287.lcm_contains_all_but_one_small_coprime_modulus (D : Finset ℕ) (lo hi : ℕ)
(hcover : ∀ x, lo ≤ x → x + 1 ≤ hi → x ∈ D ∨ x + 1 ∈ D) :
(∀ a b : ℕ, 0 < a → 0 < b → Nat.Coprime a b → a * b ≤ hi - lo →
a ∣ D.lcm id ∨ b ∣ D.lcm id) ∧
(∀ (P : Finset ℕ) (K : ℕ), K * K ≤ hi - lo →
(∀ a ∈ P, 0 < a ∧ a ≤ K) →
(∀ a ∈ P, ∀ b ∈ P, a ≠ b → Nat.Coprime a b) →
(P.filter fun a => ¬ a ∣ D.lcm id).card ≤ 1) := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287. The arithmetic proof uses the Chinese remainder theorem.