Clearing unit-fraction denominators and reducing at a coprime modulus
ProvedErdos287.reciprocal_clearing_and_modular_reductionegyptian-fractionserdos-problemsnumber-theory
Let be a common multiple of all denominators in a finite set , and let be coprime to . Write . Then in exactly when , and in exactly when .
Preamble
import Mathlib
Formal statement
theorem Erdos287.reciprocal_clearing_and_modular_reduction (D : Finset ℕ) (q L : ℕ) (hL : 0 < L) (hcop : L.Coprime q)
(hdiv : ∀ n ∈ D, n ∣ L) :
((∑ n ∈ D, (1 : ℚ) / n) = 1 ↔ (∑ n ∈ D, L / n) = L) ∧
((∑ n ∈ D, (n : ZMod q)⁻¹) = 1 ↔ (∑ n ∈ D, L / n) ≡ L [MOD q]) := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.