Divisor constraint for extending a fixed adjacent prime pair to a triangle
ProvedErdos287.triangle_extension_cofactor_divisor_constraintegyptian-fractionserdos-problemsnumber-theory
Suppose , and with . Assume , , and balance . Write and . Then . In particular, when the first two differences are signs, fixing the shared cofactors , the divisors , and the signs leaves at most two possibilities for .
Preamble
import Mathlib
Formal statement
theorem Erdos287.triangle_extension_cofactor_divisor_constraint (a b c d e f : ℕ) (x y z ε η θ : ℤ)
(ha : 0 < a) (hb : 0 < b) (he : 0 < e)
(hab : a.Coprime b) (hcd : c.Coprime d) (hef : e.Coprime f)
(hbalance : e * (a * d) = f * (c * b))
(hxy : (a : ℤ) * x - (b : ℤ) * y = ε)
(hxz : (c : ℤ) * x - (d : ℤ) * z = η)
(hyz : (e : ℤ) * y - (f : ℤ) * z = θ) (hθ : |θ| = 1) :
|((a / Nat.gcd a c : ℕ) : ℤ) * η - ((c / Nat.gcd a c : ℕ) : ℤ) * ε|
= ↑(Nat.gcd b d) := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.