/- Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ import FormalConjecturesUtil

Erdős Problem 242

References:

    erdosproblems.com/242

    [Si56] Sierpiński, W., Sur les décompositions de nombres rationnels en fractions primaires. Mathesis (1956), 16--32.

open scoped Topology namespace Erdos242

For every $n>2$ there exist distinct integers $1 ≤ x < y < z$ such that $\frac 4 n = \frac 1 x + \frac 1 y + \frac 1 z$.

@[category research open, AMS 11] theorem declaration uses 'sorry'erdos_242 (n : ) (hn : 2 < n) : x y z : , 1 x x < y y < z (4 / n : ) = 1 / x + 1 / y + 1 / z := n:hn:2 < n x y z, 1 x x < y y < z 4 / n = 1 / x + 1 / y + 1 / z All goals completed! 🐙

Schinzel conjectured (see [Si56]) the generalisation that, for any fixed $a$, if $n$ is sufficiently large in terms of $a$ then there exist distinct integers $1\leq x < y < z$ such that $\frac{a}{n} = \frac{1}{x}+\frac{1}{y}+\frac{1}{z}.$

@[category research open, AMS 11] theorem declaration uses 'sorry'erdos_242.variants.schinzel_generalization (a : ) (ha : 0 < a) : ∀ᶠ (n : ) in Filter.atTop, x y z : , 1 x x < y y < z (a / n : ) = 1 / x + 1 / y + 1 / z := a:ha:0 < a∀ᶠ (n : ) in Filter.atTop, x y z, 1 x x < y y < z a / n = 1 / x + 1 / y + 1 / z All goals completed! 🐙 end Erdos242