\documentclass[reqno]{amsart} \usepackage{amssymb,amsmath,amsthm,hyperref,comment,xcolor} %\setlength\parindent{0pt} %\hyphenpenalty=10000 \newtheorem{theorem}{Theorem} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{definition}[theorem]{Definition} \newtheorem{remark}[theorem]{Remark} \newtheorem{example}[theorem]{Example} \newtheorem*{claim}{Claim} \DeclareMathOperator{\lcm}{lcm} \newcommand{\bvec}[1]{\mathbf{#1}} \newcommand{\struc}[1]{#1_{\textrm{struct}}} \newcommand{\junk}[1]{#1_{\textrm{junk}}} \newcommand{\anorm}[1]{\| \widehat{#1}\|} \renewcommand{\leq}{\leqslant} \renewcommand{\geq}{\geqslant} \newcommand{\ri}{\mathcal{R}} \newcommand{\ind}[1]{1_{#1}} \newcommand{\bbf}{\mathbb{F}} \newcommand{\bbn}{\mathbb{N}} \newcommand{\bbz}{\mathbb{Z}} \newcommand{\bbr}{\mathbb{R}} \newcommand{\bbq}{\mathbb{Q}} \newcommand{\bbc}{\mathbb{C}} \newcommand{\bbt}{\mathbb{T}} \newcommand{\source}{\texttt{SOURCE}} \newcommand{\ls}{\lesssim} \newcommand{\gs}{\gtrsim} \newcommand{\sink}{\texttt{SINK}} \newcommand{\rk}{\mathrm{rk}} \newcommand{\supp}{\mbox{supp}} \newcommand{\td}{\,\mathrm{d}} \newcommand*{\bbe}{ \mathop{ \mathchoice{\vcenter{\hbox{\larger[4]$\mathbb{E}$}}} {\kern0pt\mathbb{E}} {\kern0pt\mathbb{E}} {\kern0pt\mathbb{E}} }\displaylimits } \newcommand{\abs}[1]{\left\lvert #1\right\rvert} \newcommand{\Abs}[1]{\lvert #1\rvert} \newcommand{\brac}[1]{\left( #1\right)} \newcommand{\inn}[1]{\left\langle #1 \right\rangle} \newcommand{\tb}[1]{\textcolor{blue}{#1}} \newcommand{\wvd}[1]{\textcolor{red}{#1}} \begin{document} \title{Optimal bounds for the length and number of unit fraction representations} \author[T. F. Bloom]{Thomas F. Bloom} \address{University of Manchester, United Kingdom} \email{bloommaths@gmail.com} \author[W. van Doorn]{Wouter van Doorn} \address{Groningen, the Netherlands} \email{wonterman1@hotmail.com} \date{} \begin{abstract}This paper gives a human-written exposition and simplification of proofs that were recently posted by OpenAI~\cite{AI26}. We prove that every $a/b\in (0, 1)$ can be written as the sum of $O(\log\log b)$ many distinct unit fractions. We also prove that the number of representations of $1$ as the sum of $k$ distinct unit fractions grows doubly exponentially in $k$. \end{abstract} \maketitle \section{Introduction} The study of unit fractions\footnote{Often called Egyptian fractions, after the ancient Egyptian practice of writing all rational numbers as the sum of unit fractions.} is one of the oldest areas in number theory. It was, in particular, a favourite topic of Erd\H{o}s and Graham, who asked many fascinating questions concerning unit fractions. There has been great progress made on understanding many of these questions; see, for example, \cite{BlEl22} for a recent survey covering aspects of this progress that we do not address here. In October 2026 OpenAI released hundreds of AI-generated proofs, addressing problems from across pure mathematics. One of these papers \cite{AI26} concerned unit fractions, and resolved three questions which were asked by Erd\H{o}s and Graham (in \cite{ErGr80}, among other places). The proofs were formalised in Lean, and hence one can verify their correctness mechanically; yet the AI-generated accompanying paper is difficult to read, contains a lot of unnecessary material, and makes it difficult to see what the new ideas are. We therefore thought it would be useful to present our own exposition of these proofs, incorporating some simplifications. For more discussion on how the proofs in this paper differ from the AI-generated proofs, see Section~\ref{sec-AI}. In the remainder of this introduction we will briefly state the three main results; further historical details are given in the relevant sections. These results address problems \#304, \#148, and \#293 respectively in the online collection of Erd\H{o}s problems \cite{Bl26}. The first (and, in our view, most interesting) result concerns how efficiently a given rational number can be represented as the sum of distinct unit fractions. \begin{theorem}\label{th-main} Any rational $a/b\in (0,1)$ can be written as the sum of $O(\log\log b)$ distinct unit fractions. \end{theorem} The second result concerns how many ways there are to write $1$ as the sum of $k$ distinct unit fractions. \begin{theorem}\label{th-main2} If $F(k)$ counts how many ways $1$ can be written as the sum of $k$ distinct unit fractions then\footnote{In this paper we make frequent use of Vinogradov notation $\gg$, which means the inequality holds up to an absolute multiplicative constant. In other words, $f\ll g$ is equivalent to $f=O(g)$. We also use the convention that we interpret $\log x = 1$ whenever $x < e$, to ensure that e.g. $\log \log b$ remains strictly positive for all integers $b\geq1$.} \[\log\log F(k) \gg k.\] \end{theorem} A similar bound holds for the number of ways of writing any fixed $a/b\in (0,1]$ as a sum of $k$ distinct unit fractions. The third result concerns which denominators can appear in a unit fraction representation of $1$. \begin{theorem}\label{th-main3} If $v(k)$ is the least integer $n\geq 2$ which does not appear as a denominator in any representation of $1$ as the sum of $k$ distinct unit fractions then \[\log\log v(k)\gg k.\] \end{theorem} All three bounds are, up to the implicit constants, the best possible. The complementary bounds which show this are classical and have been known at least since \cite{Er50} if not before; we reproduce the elementary proofs in Appendix~\ref{app}. We also note that an easy argument shows that $v(k)\leq kF(k)+2$, and so Theorem~\ref{th-main2} is an immediate consequence of Theorem~\ref{th-main3}. We also include an alternative direct proof of Theorem~\ref{th-main2}. In the following sections we will give proofs of these three theorems, together with further historical remarks and context. We conclude with a brief discussion of the implicit constants; we have chosen to present the proofs of the main results in a mostly constant-free fashion, to better highlight the main ideas. In Section~\ref{sec-AI} we give a brief commentary on the AI-generated paper \cite{AI26}, and compare the proofs as presented here with the AI version. To keep this paper self-contained we have also reproduced some existing arguments from the literature in Appendix~\ref{app}. \subsection*{Acknowledgements} TB is a Royal Society University Research Fellow. ChatGPT Astra was used in the early stages to help explain the proofs in \cite{AI26}. This paper was entirely written by the authors. \section{Efficient unit fraction representations} \label{efficient} It has long been known that every positive rational number can be written as the sum of distinct unit fractions; this can be proved with a simple greedy algorithm, as noted by Fibonacci in the 13th century. Although this provides a finite number of summands, it is often far from the most efficient representation. For example, the greedy algorithm applied to $641/796$ writes it as the sum of $13$ distinct unit fractions, of which the largest denominator has $1348$ digits, when in fact there is a much more efficient representation in \[\frac{641}{796}=\frac{1}{2}+\frac{1}{4}+\frac{1}{20}+\frac{1}{199}+\frac{1}{3980}\] which uses only $5$ unit fractions. For $a/b\in (0,1)$ the greedy algorithm terminates in at most $a$ steps, although it is conjectured (first by Schinzel in \cite{Si56}) that $3$ unit fractions already suffice as long as $b$ is sufficiently large in terms of $a$. The most notable special case of this is the Erd\H{o}s-Straus conjecture that $4/b$ can be written as the sum of $3$ distinct unit fractions for all $b \ge 3$. Here we are instead concerned with the dependence on the denominator $b$. This question first appeared in the literature in a paper of Erd\H{o}s \cite{Er50}, and it was later popularised further by Erd\H{o}s and Graham \cite{ErGr80}. For any $1\leq a< b$ define $N(a,b)$ to be the smallest $k$ such that $a/b$ can be written as the sum of $k$ distinct unit fractions, and let $N(b)$ be the maximum of $N(a,b)$ over all $1 \leq a < b$. The first non-trivial bound of $N(b) \ll \frac{\log b}{\log\log\log b}$ was proved by de Bruijn (as reported in \cite{Er50}, although this was never published). Erd\H{o}s \cite{Er50} provided both a lower bound as well as an improved upper bound, and showed \[\log\log b\ll N(b) \ll \frac{\log b}{\log\log b}.\] The lower bound is attained by $\frac{b-1}{b}$, which we will prove in Appendix~\ref{app}. The upper bound was later refined by Vose \cite{Vo85} to $N(b) \ll \sqrt{\log b},$ and AI-generated proofs \cite{vD26} recently improved this to $N(b)\ll (\log\log b)^2$. Before turning to the proof of the optimal $N(b) \ll \log\log b$, we will describe the existing strategy for obtaining upper bounds, as pioneered by Erd\H{o}s~\cite{Er50} and used in all other works on the topic since. To begin, we note that thanks to a theorem of Takenouchi \cite{Ta21} (proved in Appendix~\ref{app}), any representation as a sum of $k$ unit fractions can be converted into a sum of $k$ distinct unit fractions. This elementary fact, often overlooked in papers on this topic, is simple to prove, but makes investigating $N(b)$ significantly simpler, as we can ignore the distinct denominators requirement. \subsection{Practical numbers} A positive integer $n$ is $k$-practical if every positive integer smaller than $n$ can be written as the sum of at most $k$ divisors of $n$. This definition is due to Srinivasan \cite{Sr48}, although Fibonacci used them in his study of unit fractions in the 13th century. To see why these are useful in the context of unit fractions, let $\frac{a}{b} \in (0, 1)$ be given. We then choose a practical number $n > b$ and let $m$ be such that $\frac{m}{n} \leq \frac{a}{b} < \frac{m+1}{n}$. As $n$ is assumed to be $k$-practical, we can write both $m1$. We require the following sum-product result, which was proved by Hart and Iosevich \cite{HaIo08}. \begin{lemma}\label{lem-sp} If $A\subseteq \mathbb{F}_p$ satisfies $\abs{A}\geq p^{3/4}$ then $\mathbb{F}_p^*\subseteq AA+AA$. In particular $-1\in AA+AA$. \end{lemma} For our purposes weaker results would also suffice: for example, that there exists some $c>0$ such that if $\abs{A}\geq p^{1-c}$ then $-1$ can be written as the sum and product of $O(1)$ many elements from $A$. There are a number of results of this type; perhaps the first appeared in a paper of Glibichuk \cite{Gl07}. (Such results can also be quickly deduced from earlier work, such as the sum-product result of Bourgain, Katz, and Tao \cite{BKT04}, or from exponential sum estimates of Vinogradov \cite{Vi47}.) We wish to apply Lemma~\ref{lem-sp} with $A$ being the set of squarefree $y$-smooth numbers (so that every element of $A$ divides $P(y)$), but it is hard to prove $\abs{A\pmod{p}} \geq p^{3/4}$ for all primes $p$ in the range we are considering. Fortunately, it suffices to show that this inequality holds for almost all primes, which can be established via a short elementary argument. \begin{lemma}\label{lem-prime} For all except $x^{3/4+o(1)}$ many primes $p\leq x$ there exist squarefree $O(\log x\log\log x)$-smooth integers $u_1,v_1,u_2,v_2$ with \[u_1v_1+u_2v_2\equiv -1\pmod{p}.\] \end{lemma} \begin{proof} Let $x$ be given and define $y=C\log x\log\log x$ for a sufficiently large constant $C$. With $A$ the set of squarefree $y$-smooth integers, we then find \[\abs{A} = 2^{\pi(y)} \geq 2x^{3/4},\] where the final inequality holds if $C$ is sufficiently large. By Lemma~\ref{lem-sp} it suffices to bound the number of primes $p\leq x$ such that $\abs{A\pmod{p}}0$, with the implicit constants depending on $c$. \begin{proof} Let $a/b$ with $1 \leq a \leq \sqrt{b}$ and $b$ sufficiently large be given and write $y = c \log b$. Here, $c > 0$ is a sufficiently small constant so that, by defining $N = P(y)^2$, we have $N < \sqrt{b}$. We also let $B$ be the largest integer $m$ for which the smoothness parameter $O(\log m\log\log m)$ from Lemma~\ref{lem-rep} is at most $y$. With these definitions, Lemma~\ref{lem-rep} then implies that every $m\leq B$ can be written as the sum of at most $10$ fractions, each of whose numerator divides $N$. By definition of $B$ we get $\log B \gg \frac{\log b}{\log\log b}$. That is, there exists a $k=O(\log\log b)$ such that $b\leq B^k$. We now write \[aNB^k = bd+e\] where $0\leq e0$ choose $x_i\geq 7$ minimal such that $x_i\neq b$ and $1/x_i \leq y_{i-1}$, and let $y_i=y_{i-1}-1/x_i$. Note that, by minimality, \[\frac{1}{x_i}\leq y_{i-1}<\frac{1}{x_i-2}\] (the $-2$ instead of $-1$ is because we may have to skip the denominator $b$). Therefore \[y_i=y_{i-1}-\frac{1}{x_i}