Prime and doubled-prime windows force many unit gaps
ProvedErdos287.unit_gap_count_from_prime_windowsegyptian-fractionserdos-problemsnumber-theory
In an Egyptian fraction representation of 1 with consecutive gaps at most two, suppose each of a finite set of length-H windows inside the denominator range contains a sufficiently large odd prime and twice a sufficiently large prime. Then the number of windows is at most H times the number of gaps of size one.
Preamble
import Mathlib
Formal statement
theorem Erdos287.unit_gap_count_from_prime_windows (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)
(S : Finset ℕ) (H : ℕ)
(hwindows : ∀ x ∈ S, f 0 < x ∧ x + H ≤ f (k - 1) ∧
∃ p q : ℕ, p.Prime ∧ q.Prime ∧ 3 < p ∧ 3 < q ∧
f (k - 1) < 3 * p ∧ f (k - 1) < 3 * q ∧
x ≤ p ∧ p < x + H ∧ x ≤ 2 * q ∧ 2 * q < x + H) :
S.card ≤ H * ((Finset.range (k - 1)).filter (fun i => f (i + 1) - f i = 1)).card := by sorry
Source
Erdős Problem #287. Short-interval parity-transition argument.