Any gap-at-most-two representation of one has at least eight unit gaps
ProvedErdos287.at_least_eight_unit_gapsegyptian-fractionserdos-problemsnumber-theory
Let be integers whose reciprocals sum to one, and suppose every successive gap is at most two. Then at least eight successive gaps are exactly one. This rules out the cases with two through seven unit gaps in the open residual problem for Erdős #287.
Preamble
import Mathlib
Formal statement
theorem Erdos287.at_least_eight_unit_gaps (k : ℕ) (hk : 2 ≤ k) (f : ℕ → ℕ)
(hf1 : ∀ i, i < k → 1 < f i)
(hmono : ∀ i j, i < j → j < k → f i < f j)
(hsum : ∑ i ∈ Finset.range k, (1 : ℚ) / f i = 1)
(hgap : ∀ i, i + 1 < k → f (i + 1) - f i ≤ 2) :
8 ≤ ((Finset.range (k - 1)).filter (fun i => f (i + 1) - f i = 1)).card := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287; strengthened residual restriction using the parameterized free-prime argument of Reza Ramji (https://github.com/Zed-Rez/erdos-287-lean) and a verified interval cover by adjacent exclusions.