Prime-power congruences characterize an exact reciprocal sum in a short interval
ProvedErdos287.exact_reciprocal_sum_from_prime_power_testsegyptian-fractionserdos-problemsnumber-theory
Let be a finite set of positive denominators, a positive common multiple, and . Take distinct primes and exponents with , and let . Assume , , and . Then if and only if for each ,
In particular, using all prime powers in the factorization of gives an exact criterion for reciprocal sums in .
Preamble
import Mathlib
Formal statement
theorem Erdos287.exact_reciprocal_sum_from_prime_power_tests (D : Finset ℕ) (C W : ℕ) (hC : 0 < C)
(hpos : ∀ n ∈ D, 0 < n) (hdiv : ∀ n ∈ D, n ∣ C)
(P : Finset ℕ) (e : ℕ → ℕ) (hP : ∀ p ∈ P, p.Prime)
(hpow : ∀ p ∈ P, p ^ e p ∣ C)
(hwidth : C / (∏ p ∈ P, p ^ e p) ≤ W)
(hlo : (1 : ℚ) ≤ ∑ n ∈ D, (1 : ℚ) / n)
(hhi : (∑ n ∈ D, (1 : ℚ) / n) < 1 + (1 : ℚ) / W) :
(∑ n ∈ D, (1 : ℚ) / n) = 1 ↔
∀ p ∈ P, p ^ e p ∣ ∑ n ∈ D.filter (fun n => ¬ p ^ e p ∣ C / n), C / n := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287. Completeness of local prime-power congruences under a certified reciprocal mass interval.