Short windows containing a prime and twice a prime force unit gaps
ProvedErdos287.unit_gaps_from_short_prime_windowsegyptian-fractionserdos-problemsnumber-theory
Let have reciprocal sum one, with and every consecutive gap at most two. Fix a nonnegative integer and a finite set of integer starting positions. Suppose for every the interval lies in and contains both a prime and twice a prime . If is the number of consecutive gaps equal to one, then .
Preamble
import Mathlib
Formal statement
theorem Erdos287.unit_gaps_from_short_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)
(hM : 12 ≤ f (k - 1)) (S : Finset ℕ) (w : ℕ)
(hwindows : ∀ s ∈ S, 3 * f (k - 1) ≤ 4 * s ∧ s + w < f (k - 1) ∧
∃ p q, Nat.Prime p ∧ Nat.Prime q ∧ s ≤ p ∧ p ≤ s + w ∧ s ≤ 2 * q ∧ 2 * q ≤ s + w) :
S.card ≤ (w + 1) * ((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. The asymptotic application uses Chaohua Jia, Almost all short intervals containing prime numbers, Acta Arith. 76 (1996), 21–84, https://doi.org/10.4064/aa-76-1-21-84.