Greedy Algorithm For Egyptian Fractions

In mathematics, the greedy algorithm for Egyptian fractions is a greedy algorithm, first described by Fibonacci, for transforming rational numbers into Egyptian fractions. An Egyptian fraction is a representation of an irreducible fraction as a sum of unit fractions, as e.g. 5/6 = 1/2 + 1/3. As the name indicates, these representations have been used as long ago as ancient Egypt, but the first published systematic method for constructing such expansions is described in the Liber Abaci (1202) of Leonardo of Pisa (Fibonacci). It is called a greedy algorithm because at each step the algorithm chooses greedily the largest possible unit fraction that can be used in any representation of the remaining fraction.

Fibonacci actually lists several different methods for constructing Egyptian fraction representations (Sigler 2002, chapter II.7). He includes the greedy method as a last resort for situations when several simpler methods fail; see Egyptian fraction for a more detailed listing of these methods. As Salzer (1948) details, the greedy method, and extensions of it for the approximation of irrational numbers, have been rediscovered several times by modern mathematicians, earliest and most notably by J. J. Sylvester (1880); see for instance Cahen (1891) and Spiess (1907). A closely related expansion method that produces closer approximations at each step by allowing some unit fractions in the sum to be negative dates back to Lambert (1770).

The expansion produced by this method for a number x is called the greedy Egyptian expansion, Sylvester expansion, or Fibonacci–Sylvester expansion of x. However, the term Fibonacci expansion usually refers, not to this method, but to representation of integers as sums of Fibonacci numbers.

Read more about Greedy Algorithm For Egyptian Fractions:  Algorithm and Examples, Sylvester's Sequence and Closest Approximation, Maximum-length Expansions and Congruence Conditions, Approximation of Polynomial Roots, Other Integer Sequences, Related Expansions

Famous quotes containing the words greedy and/or egyptian:

    There is a very fine line between loving life and being greedy for it.
    Maya Angelou (b. 1928)

    What greater light can be hoped for in the moral sciences? The subject part of mankind in most places might, instead thereof, with Egyptian bondage expect Egyptian darkness, were not the candle of the Lord set up by himself in men’s minds, which it is impossible for the breath or power of man wholly to extinguish.
    John Locke (1632–1704)