import Mathlib /-! # Erdős–Straus for `n ≢ 1 (mod 24)` A special case of Erdős Problem 242 (the Erdős–Straus conjecture), in the same form as qedmarket's P308: for every `n > 2` that is not `1 mod 24` there are distinct positive integers `x < y < z` with `4 / n = 1 / x + 1 / y + 1 / z`. -/ namespace Subproblems.ErdosStraus24 theorem claim (n : ℕ) (hn : 2 < n) (hmod : n % 24 ≠ 1) : ∃ x y z : ℕ, 1 ≤ x ∧ x < y ∧ y < z ∧ (4 / n : ℚ) = 1 / x + 1 / y + 1 / z := by sorry end Subproblems.ErdosStraus24