Home › Fractions › Lesson 11

Egyptian Fractions

Lesson 11 of 12

Key idea of this section

Every positive rational is a finite sum of distinct unit fractions 1/n.
Erdős–Straus conjecture (open): 4/n = 1/x + 1/y + 1/z is solvable for every n ≥ 2.

Historical background

The scribes of Middle Kingdom Egypt wrote every fraction other than 2/3 as a sum of distinct unit fractions. The Rhind Mathematical Papyrus, copied by the scribe Ahmes around 1550 BC from an older text, opens with a table expressing 2/n as such a sum for every odd n from 5 to 101; for example

2/5 = 1/3 + 1/15,     2/7 = 1/4 + 1/28,     2/101 = 1/101 + 1/202 + 1/303 + 1/606.

The principles by which the scribes chose their decompositions are still debated; they generally prefer few terms, small and even denominators. An expression of a rational number as a sum of distinct unit fractions is now called an Egyptian fraction.

The greedy algorithm

Theorem 11.1 (Fibonacci, 1202; Sylvester, 1880). Let 0 < a/b < 1 in lowest terms. Repeatedly subtract the largest unit fraction not exceeding the remainder. This process terminates after at most a steps and produces an Egyptian fraction with strictly increasing denominators.

Proof. The largest unit fraction not exceeding a/b is 1/n with n = ⌈b/a⌉, so n − 1 < b/a ≤ n. The remainder is

a/b − 1/n = (an − b)/(bn).

Its numerator satisfies 0 ≤ an − b < a, because a(n − 1) < b. Hence the numerators, even before reduction, strictly decrease, and the process stops after at most a steps. For distinctness, the remainder is less than 1/(n − 1) − 1/n = 1/(n(n − 1)) ≤ 1/n when n ≥ 2, because a/b < 1/(n − 1); so the next denominator is strictly larger than n. ∎

For example, for 4/13 we find ⌈13/4⌉ = 4, 4/13 − 1/4 = 3/52, then ⌈52/3⌉ = 18, 3/52 − 1/18 = 2/936 = 1/468, so

4/13 = 1/4 + 1/18 + 1/468.

The greedy algorithm is simple but can be very inefficient. For 5/121 it produces

5/121 = 1/25 + 1/757 + 1/763309 + 1/873960180913 + 1/1527612795642093418846225,

whereas 5/121 = 1/33 + 1/121 + 1/363 has only three terms. Other algorithms do much better; for example, Vose (1985) proved that every a/b with 0 < a < b has an Egyptian representation with O(√(log b)) terms.

Sylvester's sequence

Define s₁ = 2 and sn+1 = sn² − sn + 1, giving 2, 3, 7, 43, 1807, 3263443, …. Then sn+1 − 1 = sn(sn − 1), so

1/(sn − 1) − 1/(sn+1 − 1) = 1/(sn − 1) − 1/(sn(sn − 1)) = 1/sn,

and the sum telescopes:

1/s₁ + 1/s₂ + ⋯ + 1/sn = 1 − 1/(sn+1 − 1).

For instance 1/2 + 1/3 + 1/7 + 1/43 = 1 − 1/1806, and so 1 = 1/2 + 1/3 + 1/7 + 1/43 + 1/1806. The terms are exactly the denominators produced by the greedy algorithm applied to 1 when at each stage the strict inequality 1/n < remainder is enforced, and Curtiss (1922) proved that 1/s₁ + ⋯ + 1/sn is the closest approximation to 1 from below by a sum of n unit fractions. The sequence grows doubly exponentially, sn ≈ E2n with E ≈ 1.2640.

The Erdős–Straus conjecture

In 1948 Erdős and Straus conjectured that for every integer n ≥ 2,

4/n = 1/x + 1/y + 1/z

has a solution in positive integers x, y, z (not necessarily distinct). Several reductions are elementary. If the equation holds for n with solution (x, y, z), it holds for every multiple kn with solution (kx, ky, kz); so it suffices to treat prime n. For n = 2, 4/2 = 1/1 + 1/2 + 1/2. Congruence classes yield identities:

n = 4k − 1:   4/n = 1/k + 1/(kn),                 since (n + 1)/(kn) = 4k/(kn)
n = 3k − 1:   4/n = 1/n + 1/k + 1/(kn),           since 3/n = (n + 1)/(kn)

and in the two-term case one splits a unit fraction using 1/m = 1/(m + 1) + 1/(m(m + 1)). Every prime p > 3 not covered by these two identities satisfies p ≡ 1 (mod 12). Mordell showed with further identities that the conjecture holds for all n except possibly those with

n ≡ 1, 121, 169, 289, 361, 529   (mod 840),

which are the squares 1, 11², 13², 17², 19², 23² modulo 840. Polynomial identities of this kind can never cover all residue classes of squares, which is a structural reason why the conjecture is hard. Computations have verified it for all n ≤ 10¹⁷ (Salez, 2014), and Elsholtz and Tao (2013) obtained precise estimates for the average number of solutions. The conjecture remains open, as does Sierpiński's analogous conjecture for 5/n.

Density and colouring results

Erdős and Graham asked many questions about representations of 1 as a sum of distinct unit fractions. Graham (1964) proved that every integer greater than 77 can be written as a sum of distinct positive integers whose reciprocals sum to 1, and that 77 cannot. Croot (2003) proved that in any colouring of the integers ≥ 2 with finitely many colours there is a monochromatic finite set whose reciprocals sum to 1. Bloom (2021) strengthened this to a density statement: every set of positive integers with positive upper density contains a finite subset whose reciprocals sum to 1.

Exercise

  • (a)
    Apply the greedy algorithm to 3/7.
  • (b)
    Find a solution of the Erdős–Straus equation for n = 5.
Show solution

Answers: (a) ⌈7/3⌉ = 3 and 3/7 − 1/3 = 2/21; ⌈21/2⌉ = 11 and 2/21 − 1/11 = (22 − 21)/231 = 1/231. So 3/7 = 1/3 + 1/11 + 1/231. (b) n = 5 = 3·2 − 1, so the second identity with k = 2 gives 4/5 = 1/5 + 1/2 + 1/10; check: (2 + 5 + 1)/10 = 8/10 = 4/5. Another solution is 4/5 = 1/2 + 1/4 + 1/20.

V.3.1