Opposite-parity omissions enclose an even selected run
ProvedErdos287.opposite_parity_holes_enclose_even_runegyptian-fractionserdos-problemsnumber-theory
Let be a finite set of omitted positions with no consecutive integers. If are omissions of opposite parity, then between them there are consecutive omissions with positive and even. In particular their intervening selected run has at least two positions.
Preamble
import Mathlib
Formal statement
theorem Erdos287.opposite_parity_holes_enclose_even_run (H : Finset ℕ) (a b : ℕ) (ha : a ∈ H) (hb : b ∈ H) (hab : a < b)
(hp : a % 2 ≠ b % 2) (hsep : ∀ n ∈ H, n + 1 ∉ H) :
∃ x ∈ H, ∃ y ∈ H, a ≤ x ∧ y ≤ b ∧ x + 3 ≤ y ∧ Even (y - x - 1) ∧
∀ n, x < n → n < y → n ∉ H := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.