# Erdős–Straus conjecture

${\tfrac {4}{n}}={\tfrac {1}{x}}+{\tfrac {1}{y}}+{\tfrac {1}{z}}$
$n\geq 2$
The Erdős–Straus conjecture is an unproven statement in number theory. The conjecture is that, for every integer $n$ that is greater than or equal to 2, there exist positive integers $x$, $y$, and $z$ for which ${\frac {4}{n}}={\frac {1}{x}}+{\frac {1}{y}}+{\frac {1}{z}}.$ In other words, the number $4/n$ can be written as a sum of three positive unit fractions.
The conjecture is named after Paul Erdős and Ernst G. Straus, who formulated it in 1948, but it is connected to much more ancient mathematics; sums of unit fractions, like the one in this problem, are known as Egyptian fractions, because of their use in ancient Egyptian mathematics. The Erdős–Straus conjecture is one of many conjectures by Erdős, and one of many unsolved problems in mathematics concerning Diophantine equations.
Although a solution is not known for all values of n, infinitely many values in certain infinite arithmetic progressions have simple formulas for their solution, and skipping these known values can speed up searches for counterexamples. Additionally, these searches need only consider values of $n$ that are prime numbers, because any composite counterexample would have a smaller counterexample among its prime factors. Computer searches have verified the truth of the conjecture up to $n\leq 10^{17}$.
If the conjecture is reframed to allow negative unit fractions, then it is known to be true. Generalizations of the conjecture to fractions with numerator 5 or larger have also been studied.

## Background and history

When a rational number is expanded into a sum of unit fractions, the expansion is called an Egyptian fraction. This way of writing fractions dates to the mathematics of ancient Egypt, in which fractions were written this way instead of in the more modern vulgar fraction form ${\tfrac {a}{b}}$ with a numerator $a$ and denominator $b$. The Egyptians produced tables of Egyptian fractions for unit fractions multiplied by two, the numbers that in modern notation would be written ${\tfrac {2}{n}}$, such as the Rhind Mathematical Papyrus table; in these tables, most of these expansions use either two or three terms. These tables were needed, because the obvious expansion ${\tfrac {2}{n}}={\tfrac {1}{n}}+{\tfrac {1}{n}}$ was not allowed: the Egyptians required all of the fractions in an Egyptian fraction to be different from each other. This same requirement, that all fractions be different, is sometimes imposed in the Erdős–Straus conjecture, but it makes no significant difference to the problem, because for $n>2$ any solution to ${\tfrac {4}{n}}={\tfrac {1}{x}}+{\tfrac {1}{y}}+{\tfrac {1}{z}}$ where the unit fractions are not distinct can be converted into a solution where they are all distinct; see below.
Although the Egyptians did not always find expansions using as few terms as possible, later mathematicians have been interested in the question of how few terms are needed. Every fraction ${\tfrac {a}{b}}$ has an expansion of at most $a$ terms, so in particular ${\tfrac {2}{n}}$ needs at most two terms, ${\tfrac {3}{n}}$ needs at most three terms, and ${\tfrac {4}{n}}$ needs at most four terms. For ${\tfrac {2}{n}}$, two terms are always needed, and for ${\tfrac {3}{n}}$, three terms are sometimes needed, so for both of these numerators, the maximum number of terms that might be needed is known. However, for ${\tfrac {4}{n}}$, it is unknown whether four terms are sometimes needed, or whether it is possible to express all fractions of the form ${\tfrac {4}{n}}$ using only three unit fractions; this is the Erdős–Straus conjecture. Thus, the conjecture covers the first unknown case of a more general question, the problem of finding for all $a$ the maximum number of terms needed in expansions for fractions ${\tfrac {a}{b}}$.
One way to find short (but not always shortest) expansions uses the greedy algorithm for Egyptian fractions, first described in 1202 by Fibonacci in his book Liber Abaci. This method chooses one unit fraction at a time, at each step choosing the largest possible unit fraction that would not cause the expanded sum to exceed the target number. After each step, the numerator of the fraction that still remains to be expanded decreases, so the total number of steps can never exceed the starting numerator, but sometimes it is smaller. For example, when it is applied to ${\tfrac {3}{n}}$, the greedy algorithm will use two terms whenever $n$ is 2 modulo 3, but there exists a two-term expansion whenever $n$ has a factor that is 2 modulo 3, a weaker condition. For numbers of the form ${\tfrac {4}{n}}$, the greedy algorithm will produce a four-term expansion whenever $n$ is 1 modulo 4, and an expansion with fewer terms otherwise. Thus, another way of rephrasing the Erdős–Straus conjecture asks whether there exists another method for producing Egyptian fractions, using a smaller maximum number of terms for the numbers ${\tfrac {4}{n}}$.
The Erdős–Straus conjecture was formulated in 1948 by Paul Erdős and Ernst G. Straus, and published by Erdős (1950). Richard Obláth also published an early work on the conjecture, a paper written in 1948 and published in 1950, in which he extended earlier calculations of Straus and Harold N. Shapiro in order to verify the conjecture for all $n\leq 10^{5}$.

## Formulation

The conjecture states that, for every integer $n\geq 2$, there exist positive integers $x$, $y$, and $z$ such that ${\frac {4}{n}}={\frac {1}{x}}+{\frac {1}{y}}+{\frac {1}{z}}.$ For instance, for $n=5$, there are two solutions: ${\frac {4}{5}}={\frac {1}{2}}+{\frac {1}{4}}+{\frac {1}{20}}={\frac {1}{2}}+{\frac {1}{5}}+{\frac {1}{10}}.$
Multiplying both sides of the equation ${\tfrac {4}{n}}={\tfrac {1}{x}}+{\tfrac {1}{y}}+{\tfrac {1}{z}}$ by $nxyz$ leads to an equivalent polynomial form $4xyz=n(xy+xz+yz)$ for the problem.

### Distinct unit fractions

Some researchers additionally require that the integers $x$, $y$, and $z$ be distinct from each other, as the Egyptians would have, while others allow them to be equal. For $n\geq 3$, it does not matter whether they are required to be distinct: if there exists a solution with any three integers, then there exists a solution with distinct integers. This is because two identical unit fractions can be replaced through one of the following two expansions: ${\begin{aligned}{\frac {1}{2r}}+{\frac {1}{2r}}&\Rightarrow {\frac {1}{r+1}}+{\frac {1}{r(r+1)}}\\{\frac {1}{2r+1}}+{\frac {1}{2r+1}}&\Rightarrow {\frac {1}{r+1}}+{\frac {1}{(r+1)(2r+1)}}\\\end{aligned}}$ (according to whether the repeated fraction has an even or odd denominator) and this replacement can be repeated until no duplicate fractions remain. For $n=2$, however, the only solutions are permutations of ${\tfrac {4}{2}}={\tfrac {1}{2}}+{\tfrac {1}{2}}+{\tfrac {1}{1}}$.

### Negative-number solutions

The Erdős–Straus conjecture requires that all three of $x$, $y$, and $z$ be positive. This requirement is essential to the difficulty of the problem. Even without this relaxation, the Erdős–Straus conjecture is difficult only for odd values of $n$, and if negative values were allowed then the problem could be solved for every odd $n$ by the following formula: ${\frac {4}{n}}={\frac {1}{(n-1)/2}}+{\frac {1}{(n+1)/2}}-{\frac {1}{n(n-1)(n+1)/4}}.$

## Computational results

If the conjecture is false, it could be proven false simply by finding a number ${\tfrac {4}{n}}$ that has no three-term representation. In order to check this, various authors have performed brute-force searches for counterexamples to the conjecture. Searches of this type have confirmed that the conjecture is true for all $n$ up to $10^{17}$.
In such searches, it is only necessary to look for expansions for numbers ${\tfrac {4}{n}}$ where $n$ is a prime number. This is because, whenever ${\tfrac {4}{n}}$ has a three-term expansion, so does ${\tfrac {4}{mn}}$ for all positive integers $m$. To find a solution for ${\tfrac {4}{mn}}$, just divide all of the unit fractions in the solution for ${\tfrac {4}{n}}$ by $m$: ${\frac {4}{n}}={\frac {1}{x}}+{\frac {1}{y}}+{\frac {1}{z}}\ \Rightarrow \ {\frac {4}{mn}}={\frac {1}{mx}}+{\frac {1}{my}}+{\frac {1}{mz}}.$ If ${\tfrac {4}{n}}$ were a counterexample to the conjecture, for a composite number $n$, every prime factor $p$ of $n$ would also provide a counterexample ${\tfrac {4}{p}}$ that would have been found earlier by the brute-force search. Therefore, checking the existence of a solution for composite numbers is redundant, and can be skipped by the search. Additionally, the known modular identities for the conjecture (see below) can speed these searches by skipping over other values known to have a solution. For instance, the greedy algorithm finds an expansion with three or fewer terms for every number ${\tfrac {4}{n}}$ where $n$ is not 1 modulo 4, so the searches only need to test values that are 1 modulo 4. One way to make progress on this problem is to collect more modular identities, allowing computer searches to reach higher limits with fewer tests.
The number of distinct solutions to the ${\tfrac {4}{n}}$ problem, as a function of $n$, has also been found by computer searches for small $n$ and appears to grow somewhat irregularly with $n$. Starting with $n=3$, the numbers of distinct solutions with distinct denominators are
Even for larger $n$ there can sometimes be relatively few solutions; for instance there are only seven distinct solutions for $n=73$.

## Theoretical results

In the form $4xyz=n(xy+xz+yz)$, a polynomial equation with integer variables, the Erdős–Straus conjecture is an example of a Diophantine equation. The Hasse principle for Diophantine equations suggests that these equations should be studied using modular arithmetic. If a polynomial equation has a solution in the integers, then taking this solution modulo $q$, for any integer $q$, provides a solution in modulo-$q$ arithmetic. In the other direction, if an equation has a solution modulo $q$ for every prime power $q$, then in some cases it is possible to piece together these modular solutions, using methods related to the Chinese remainder theorem, to get a solution in the integers. The power of the Hasse principle to solve some problems is limited by the Manin obstruction, but for the Erdős–Straus conjecture this obstruction does not exist.
On the face of it this principle makes little sense for the Erdős–Straus conjecture. For every $n$, the equation $4xyz=n(xy+xz+yz)$ is easily solvable modulo any prime, or prime power, but there appears to be no way to piece those solutions together to get a positive integer solution to the equation. Nevertheless, modular arithmetic, and identities based on modular arithmetic, have proven a very important tool in the study of the conjecture.

### Modular identities

For values of $n$ satisfying certain congruence relations, one can find an expansion for ${\tfrac {4}{n}}$ automatically as an instance of a polynomial identity. For instance, whenever $n$ is 2 modulo 3, ${\tfrac {4}{n}}$ has the expansion ${\frac {4}{n}}={\frac {1}{n}}+{\frac {1}{(n+1)/3}}+{\frac {1}{n(n+1)/3}}.$ Here each of the three denominators $n$, $(n+1)/3$, and $n(n+1)/3$ is a polynomial of $n$, and each is an integer whenever $n$ is 2 modulo 3. The greedy algorithm for Egyptian fractions finds a solution in three or fewer terms whenever $n$ is not 1 or 17 mod 24, and the 17 mod 24 case is covered by the 2 mod 3 relation, so the only values of $n$ for which these two methods do not find expansions in three or fewer terms are those congruent to 1 mod 24.
Polynomial identities listed by Mordell (1967) provide three-term Egyptian fractions for ${\tfrac {4}{n}}$ whenever $n$ is one of:
* 2 mod 3 (above),
* 3 mod 4,
* 2 or 3 mod 5,
* 3, 5, or 6 mod 7, or
* 5 mod 8.
Combinations of Mordell's identities can be used to expand ${\tfrac {4}{n}}$ for all $n$ except possibly those that are 1, 121, 169, 289, 361, or 529 mod 840. The smallest prime that these identities do not cover is 1009. By combining larger classes of modular identities, Webb and others showed that the natural density of potential counterexamples to the conjecture is zero: as a parameter $N$ goes to infinity, the fraction of values in the interval $[1,N]$. that could be counterexamples tends to zero in the limit.

### Nonexistence of identities

If it were possible to find solutions such as the ones above for enough different moduli, forming a complete covering system of congruences, the problem would be solved. However, as Mordell (1967) showed, a polynomial identity that provides a solution for values of $n$ congruent to $r$ mod $p$ can exist only when $r$ is not congruent to a square modulo $p$. (More formally, this kind of identity can exist only when $r$ is not a quadratic residue modulo $p$.) For instance, 2 is a non-square mod 3, so Mordell's result allows the existence of an identity for $n$ congruent to 2 mod 3. However, 1 is a square mod 3 (equal to the square of both 1 and 2 mod 3), so there can be no similar identity for all values of $n$ that are congruent to 1 mod 3. More generally, as 1 is a square mod $n$ for all $n>1$, there can be no complete covering system of modular identities for all $n$, because 1 will always be uncovered.
Despite Mordell's result limiting the form of modular identities for this problem, there is still some hope of using modular identities to prove the Erdős–Straus conjecture. No prime number can be a square, so by the Hasse–Minkowski theorem, whenever $p$ is prime, there exists a larger prime $q$ such that $p$ is not a quadratic residue modulo $q$. One possible approach to proving the conjecture would be to find for each prime $p$ a larger prime $q$ and a congruence solving the ${\tfrac {4}{n}}$ problem for $n$ congruent to $p$ mod $q$. If this could be done, no prime $p$ could be a counterexample to the conjecture and the conjecture would be true.

### The number of solutions

Elsholtz & Tao (2013) showed that the average number of solutions to the ${\tfrac {4}{n}}$ problem (averaged over the prime numbers up to $n$) is upper bounded polylogarithmically in $n$. For some other Diophantine problems, the existence of a solution can be demonstrated through asymptotic lower bounds on the number of solutions, but this works best when the number of solutions grows at least polynomially, so the slower growth rate of Elsholtz and Tao's result makes a proof of this type less likely. Elsholtz and Tao classify solutions according to whether one or two of $x$, $y$, or $z$ is divisible by $n$; for prime $n$, these are the only possibilities, although (on average) most solutions for composite $n$ are of other types. Their proof uses the Bombieri–Vinogradov theorem, the Brun–Titchmarsh theorem, and a system of modular identities, valid when $n$ is congruent to $-c$ or $-{\tfrac {1}{c}}$ modulo $4ab$, where $a$ and $b$ are any two coprime positive integers and $c$ is any odd factor of $a+b$. For instance, setting $a=b=1$ gives one of Mordell's identities, valid when $n$ is 3 mod 4.

## Generalizations

As with fractions of the form ${\tfrac {4}{n}}$, it has been conjectured that every fraction ${\tfrac {5}{n}}$ (for $n>1$) can be expressed as a sum of three positive unit fractions. A generalized version of the conjecture states that, for any positive $k$, all but finitely many fractions ${\tfrac {k}{n}}$ can be expressed as a sum of three positive unit fractions. The conjecture for fractions ${\tfrac {5}{n}}$ was made by Wacław Sierpiński in a 1956 paper, which went on to credit the full conjecture to Sierpiński's student Andrzej Schinzel.
Even if the generalized conjecture is false for any fixed value of $k$, then the number of fractions ${\tfrac {k}{n}}$ with $n$ in the range from 1 to $N$ that do not have three-term expansions must grow only sublinearly as a function of $N$. In particular, if the Erdős–Straus conjecture itself (the case $k=4$) is false, then the number of counterexamples grows only sublinearly. Even more strongly, for any fixed $k$, only a sublinear number of values of $n$ need more than two terms in their Egyptian fraction expansions. The generalized version of the conjecture is equivalent to the statement that the number of unexpandable fractions is not just sublinear but bounded.
When $n$ is an odd number, by analogy to the problem of odd greedy expansions for Egyptian fractions, one may ask for solutions to ${\tfrac {k}{n}}={\tfrac {1}{x}}+{\tfrac {1}{y}}+{\tfrac {1}{z}}$ in which $x$, $y$, and $z$ are distinct positive odd numbers. Solutions to this equation are known to always exist for the case in which k = 3.