/- Copyright 2026 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 206

References:

    erdosproblems.com/206

    [ErGr80] Erdős, P. and Graham, R., Old and new problems and results in combinatorial number theory. Monographies de L'Enseignement Mathématique (1980).

    [Cu22] Curtiss, D. R., On Kellogg's Diophantine Problem. Amer. Math. Monthly (1922), 380-387.

    [Er50b] Erdős, Pál, On a Diophantine equation. Mat. Lapok (1950), 192-210.

    [Na23] Nathanson, M., Underapproximation by Egyptian fractions. J. Number Theory (2023), 208-234.

    [Ch23b] Chu, H. V., A threshold for the best two-term underapproximation by Egyptian fractions. arXiv:2306.12564 (2023).

    [Ko24b] Kovač, V., On eventually greedy best underapproximations by Egyptian fractions. arXiv:2406.07218 (2024).

open MeasureTheory namespace Erdos206

The Egyptian fraction sum: ∑_{m ∈ S} 1/m for a finset of natural numbers.

noncomputable def egyptianSum (S : Finset ) : := m S, (1 : ) / m

S is an Egyptian underapproximation of x: valid denominators (all positive) and sum < x.

def IsUnderapprox (S : Finset ) (x : ) : Prop := ( m S, 0 < m) egyptianSum S < x

S achieves the best n-term Egyptian underapproximation of x, i.e. egyptianSum S realises $R_n(x)$.

def IsBestNTerm (S : Finset ) (n : ) (x : ) : Prop := S.card = n IsUnderapprox S x T : Finset , T.card = n IsUnderapprox T x egyptianSum T egyptianSum S

x has eventually greedy best Egyptian underapproximations: from some n₀ on, the best n-term underapproximations of x are the prefixes of a single strictly increasing sequence of denominators, so each is obtained from the previous by appending the minimal admissible denominator.

def EventuallyGreedy (x : ) : Prop := x > 0 (m : ), StrictMono m ( k, 0 < m k) n₀ : , n n₀, IsBestNTerm (Finset.image m (Finset.range n)) n x

Let $x>0$ be a real number. For any $n\geq 1$ let $$R_n(x) = \sum_{i=1}^n\frac{1}{m_i}<x$$ be the maximal sum of $n$ distinct unit fractions which is $<x$.

Is it true that, for almost all $x$, for sufficiently large $n$, we have $$R_{n+1}(x)=R_n(x)+\frac{1}{m},$$ where $m$ is minimal such that $m$ does not appear in $R_n(x)$ and the right-hand side is $<x$? (That is, are the best underapproximations eventually always constructed in a 'greedy' fashion?)

Kovač [Ko24b] has proved that this is false - in fact as false as possible: the set of $x\in (0,\infty)$ for which the best underapproximations are eventually 'greedy' has Lebesgue measure zero.

@[category research solved, AMS 11] theorem declaration uses 'sorry'erdos_206 : answer(False) ∀ᵐ x (volume.restrict (Set.Ioi (0 : ))), EventuallyGreedy x := False ∀ᵐ (x : ) volume.restrict (Set.Ioi 0), EventuallyGreedy x All goals completed! 🐙 end Erdos206