On this page
Can you write 4/5 as a sum of three fractions with 1 on top? This small puzzle is a famous open problem in number theory, and you can work real cases of it with school fractions and remainders.
What does the Erdős–Straus conjecture say?
The conjecture states that for every integer n ≥ 2 there are positive integers x, y and z with 4/n = 1/x + 1/y + 1/z, as set out in this summary of the Erdős–Straus conjecture and its literature. A sum of unit fractions is called an Egyptian fraction, after their use in ancient Egyptian mathematics. Paul Erdős and Ernst G. Straus formulated the conjecture in 1948.
Any fraction a/b needs at most a unit fractions, so 4/n never needs more than four; the open question is whether three always suffice. For the basic method, see our explainer on how to write a fraction as a sum of unit fractions.
How do you write 4/5, 4/7 and 4/13 as three unit fractions?
Use the greedy method: take the largest unit fraction that fits (for a/b, that is 1/k with k = b/a rounded up), subtract, repeat.
n = 5. 5/4 rounds up to 2, so take 1/2. Then 4/5 − 1/2 = 3/10. Next, 10/3 rounds up to 4: 3/10 − 1/4 = 1/20. So 4/5 = 1/2 + 1/4 + 1/20. Check: 10/20 + 5/20 + 1/20 = 16/20 = 4/5.
n = 7. 7/4 rounds up to 2, so take 1/2 again: 4/7 − 1/2 = 1/14. That is only two terms, so split the last one: 1/14 = 1/15 + 1/210. So 4/7 = 1/2 + 1/15 + 1/210. Check: 105/210 + 14/210 + 1/210 = 120/210 = 4/7.
n = 13. 13/4 rounds up to 4: 4/13 − 1/4 = 3/52. Then 52/3 rounds up to 18: 3/52 − 1/18 = 2/936 = 1/468. So 4/13 = 1/4 + 1/18 + 1/468. Check: 117/468 + 26/468 + 1/468 = 144/468 = 4/13.
Greedy does not always stop at three. For n = 73 it takes 1/19, then 1/463, and leaves 2/642181, so it needs a fourth term, even though seven three-term solutions with distinct denominators exist, per the Erdős–Straus summary.
Why is it easy when n is even or n ≡ 3 mod 4?
For even n = 2m, the splitting trick does all the work: 4/n = 2/m = 1/m + 1/(m+1) + 1/(m(m+1)). For n = 10 (m = 5) that gives 1/5 + 1/6 + 1/30, and 6/30 + 5/30 + 1/30 = 12/30 = 2/5.
When n leaves remainder 3 on division by 4, (n+1)/4 is a whole number. Then 4/n − 4/(n+1) = 4/(n(n+1)), which is two copies of 2/(n(n+1)). So 4/n = 1/((n+1)/4) + 1/(n(n+1)/2) + 1/(n(n+1)/2). For n = 7 that reads 1/2 + 1/28 + 1/28. Some versions of the conjecture allow a repeated fraction and some require distinct ones, but for n ≥ 3 that makes no difference: a repeated pair can always be traded for distinct fractions, according to the Erdős–Straus summary.
There is one more shortcut: only primes matter. If 4/p = 1/x + 1/y + 1/z, multiply every denominator by m to get 4/(mp) = 1/(mx) + 1/(my) + 1/(mz). So the hard cases are primes that leave remainder 1 on division by 4.
Which residue classes mod 840 are still hard?
In 1967 Louis Mordell listed formulas like the ones above for n ≡ 2 (mod 3), 3 (mod 4), 2 or 3 (mod 5), 3, 5 or 6 (mod 7), and 5 (mod 8), as reported in the Erdős–Straus summary. Combined, they solve every n except possibly those that leave remainder 1, 121, 169, 289, 361 or 529 on division by 840. The smallest prime they miss is 1009, which is 840 + 169.
Look at those six remainders: 1, 11², 13², 17², 19² and 23². They are all perfect squares, which fits a result of Mordell's: a formula of this kind for n ≡ r (mod p) can exist only when r is not a square mod p. Since 1 is a square for every modulus, no complete set of such formulas can cover every n. Our post on quadratic residues and squares mod p explains which remainders count as squares.
How far has the conjecture been checked by computer?
Serge Salez's 2014 paper, The Erdős–Straus conjecture: new modular equations and checking up to N = 10¹⁷, proves that a "complete" set of seven modular equations exists, three of them new, and builds a sieve on them. Its abstract reports a running time of about 16 hours for N = 10¹⁷ on a typical computer, and notes that Allan Swett's 1999 check reached 10¹⁴ in 150 hours. No counterexample has turned up.
A big search is evidence, not proof. Christian Elsholtz and Terence Tao showed in a paper counting the solutions that a typical prime has relatively few of them, which makes a proof by counting solutions less likely to work.
A four-step plan for any 4/n
If n is even, use 1/m + 1/(m+1) + 1/(m(m+1)) with m = n/2.
If n ≡ 3 (mod 4), use the (n+1)/4 formula.
If n is composite, solve 4/p for a prime factor p and scale every denominator.
Otherwise run greedy; if it gives two terms, split one; if it gives four, start with a slightly smaller first fraction and try again.
If remainders and modular arithmetic are the shaky part, the Fermi Concept Library has a lesson for every concept in mathematics, each with its place in the map. To practise, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer. Then try 4/17 and 4/19 yourself, and check your answers by adding the fractions back up.



