Reciprocal-weighted bound for fully selected windows
ProvedErdos287.weighted_consecutive_selected_windowsegyptian-fractionserdos-problemsnumber-theory
Let have reciprocal sum one, with . Give each length- window inside the interval the reciprocal weight of its last position. The total weight of fully selected windows is at least the weight of all windows minus .
Preamble
import Mathlib
Formal statement
theorem Erdos287.weighted_consecutive_selected_windows (D : Finset ℕ) (m M w : ℕ) (hm : 0 < m) (hw : 0 < w)
(hD : D ⊆ Finset.Icc m M) (hsum : ∑ n ∈ D, (1 : ℝ) / n = 1) :
let ends := Finset.Icc (m + w - 1) M
let full := ends.filter (fun n => ∀ i ∈ Finset.range w, n - i ∈ D)
(∑ n ∈ ends, (1 : ℝ) / n) - w * ((∑ n ∈ Finset.Icc m M, (1 : ℝ) / n) - 1) ≤
∑ n ∈ full, (1 : ℝ) / n := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.