Exact unit-sum criterion from truncated prime-power carries
ProvedErdos287.unit_sum_iff_truncated_prime_power_carries_and_refined_testegyptian-fractionserdos-problemsnumber-theory
Let be a finite set of positive integers dividing , and let . Put , and . Fix a prime and a nonnegative integer with . Then if and only if both conditions hold. For every prime , divides . At the chosen prime, divides .
Preamble
import Mathlib
Formal statement
theorem Erdos287.unit_sum_iff_truncated_prime_power_carries_and_refined_test (D : Finset ℕ) (L Y p j : ℕ) (hL : 0 < L) (hY : 0 < Y) (hp : p.Prime)
(hD : ∀ n ∈ D, n ∣ L)
(hbound : |(∑ n ∈ D, (1 : ℚ) / n) - 1| * (L.gcd (Nat.lcmUpto Y) : ℚ) < (p ^ j : ℕ)) :
(∑ n ∈ D, (1 : ℚ) / n) = 1 ↔
(∀ r : ℕ, r.Prime → r ^ (L.factorization r - r.log Y) ∣
∑ n ∈ D.filter (fun n => Y < r ^ n.factorization r), L / n) ∧
p ^ (L.factorization p - p.log Y + j) ∣ Int.natAbs (((∑ n ∈ D, L / n : ℕ) : ℤ) - L) := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.