Prime-power layer with at most three consecutive candidate cofactors
ProvedErdos287.short_cofactor_layeregyptian-fractionserdos-problemsnumber-theory
Suppose has positive denominators summing reciprocally to one, for prime and , and any two candidate cofactors for multiples of in differ by at most two. Then the selected -layer is empty or, for its smallest cofactor , exactly , or in cofactor coordinates. These possibilities require to divide , or , respectively.
Preamble
import Mathlib
Formal statement
theorem Erdos287.short_cofactor_layer (D : Finset ℕ) (m M p e : ℕ) (hm : 0 < m) (hp : p.Prime) (he : 1 ≤ e)
(hD : D ⊆ Finset.Icc m M) (hsum : ∑ n ∈ D, (1 : ℚ) / n = 1)
(hwindow : ∀ a b : ℕ, m ≤ a * p ^ e → b * p ^ e ≤ M → b ≤ a + 2) :
let q := p ^ e
let H := D.filter (fun n => q ∣ n)
H = ∅ ∨ ∃ c : ℕ, 0 < c ∧
((H = {c * q, (c + 1) * q} ∧ p ∣ 2 * c + 1) ∨
(H = {c * q, (c + 2) * q} ∧ p ∣ 2 * c + 2) ∨
(H = {c * q, (c + 1) * q, (c + 2) * q} ∧ p ∣ 3 * c ^ 2 + 6 * c + 2)) := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.