Exact reconstruction of a unit-fraction sum from absent prime residues
ProvedErdos287.unit_sum_reconstruction_from_absent_primesegyptian-fractionserdos-problemsnumber-theory
Let the denominators in all divide a positive integer , let , and let be a finite set of primes not dividing . If , then the rational reciprocal sum equals one exactly when its modular inverse sum equals one for every .
Preamble
import Mathlib
Formal statement
theorem Erdos287.unit_sum_reconstruction_from_absent_primes (D P : Finset ℕ) (L : ℕ) (hL : 0 < L)
(hD : ∀ n ∈ D, n ∣ L) (hP : ∀ p ∈ P, p.Prime ∧ ¬ p ∣ L)
(hbound : Int.natAbs (((∑ n ∈ D, L / n : ℕ) : ℤ) - L) < ∏ p ∈ P, p) :
(∑ n ∈ D, (1 : ℚ) / n) = 1 ↔
∀ p ∈ P, (∑ n ∈ D, (n : ZMod p)⁻¹) = 1 := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.