The gap-two bound for Erdős Problem 287
ProvedErdos287.max_gap_ge_twoegyptian-fractionsnumber-theoryunit-fractions
Let and let be integers whose reciprocals sum to . Then some consecutive difference is at least two:
Equivalently, the denominators of a representation of never form a block of consecutive integers. This is the classical case of Erdős Problem 287, recorded there as due to Erdős (1932) and resting on Kürschák's block theorem; the open part of the problem is the same statement with three in place of two.
Formalization note. The encoding matches the mission's goal statement exactly, with only the constant changed, so the two can be compared directly.
Preamble
import Mathlib
Formal statement
namespace Erdos287
theorem max_gap_ge_two (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) :
∃ i, i + 1 < k ∧ 2 ≤ f (i + 1) - f i := by sorry
end Erdos287Source
Erdős Problem 287, https://www.erdosproblems.com/287; P. Erdős and R. L. Graham, Old and new problems and results in combinatorial number theory, Monographies de L'Enseignement Mathématique (1980), p. 33; Various, Some of Paul's favorite problems (Budapest, July 1999), item 1.15.
Human review
Confirmed by the mission captain (proposal self-audit).