# Egyptian fraction

An **Egyptian fraction** is a finite sum of distinct unit fractions, such as

That is, each fraction in the expression has a numerator equal to 1 and a denominator that is a positive integer, and all the denominators differ from each other. The value of an expression of this type is a positive rational number *a*/*b*; for instance the Egyptian fraction above sums to 43/48. Every positive rational number can be represented by an Egyptian fraction. Sums of this type, and similar sums also including 2/3 and 3/4 as summands, were used as a serious notation for rational numbers by the ancient Egyptians, and continued to be used by other civilizations into medieval times. In modern mathematical notation, Egyptian fractions have been superseded by vulgar fractions and decimal notation. However, Egyptian fractions continue to be an object of study in modern number theory and recreational mathematics, as well as in modern historical studies of ancient mathematics.

## Motivating applications

Beyond their historical use, Egyptian fractions have some practical advantages over other representations of fractional numbers. For instance, Egyptian fractions can help in dividing a number of objects into equal shares (Knott). For example, if one wants to divide 5 pizzas equally among 8 diners, the Egyptian fraction

means that each diner gets half a pizza plus another eighth of a pizza, e.g. by splitting 4 pizzas into 8 halves, and the remaining pizza into 8 eighths.

Similarly, although one could divide 13 pizzas among 12 diners by giving each diner one pizza and splitting the remaining pizza into 12 parts (perhaps destroying it), one could note that

and split 6 pizzas into halves, 4 into thirds and the remaining 3 into quarters, and then give each diner one half, one third and one quarter.

## Early history

*For more information on this subject, see Egyptian numerals, Eye of Horus, and Egyptian mathematics.*

Egyptian fraction notation was developed in the Middle Kingdom of Egypt, altering the Old Kingdom's Eye of Horus numeration system. Five early texts in which Egyptian fractions appear were the Egyptian Mathematical Leather Roll, the Moscow Mathematical Papyrus, the Reisner Papyrus, the Kahun Papyrus and the Akhmim Wooden Tablet. A later text, the Rhind Mathematical Papyrus, introduced improved ways of writing Egyptian fractions. The Rhind papyrus was written by Ahmes and dates from the Second Intermediate Period; it includes a table of Egyptian fraction expansions for rational numbers 2/*n*, as well as 84 word problems. Solutions to each problem were written out in scribal shorthand, with the final answers of all 84 problems being expressed in Egyptian fraction notation. 2/*n* tables similar to the one on the Rhind papyrus also appear on some of the other texts. However, as the Kahun Papyrus shows, vulgar fractions were also used by scribes within their calculations.

### Notation

To write the unit fractions used in their Egyptian fraction notation, in hieroglyph script, the Egyptians placed the hieroglyph

(*er*, "[one] among" or possibly *re*, mouth) above a number to represent the reciprocal of that number. Similarly in hieratic script they drew a line over the letter representing the number. For example:

The Egyptians had special symbols for 1/2, 2/3, and 3/4 that were used to reduce the size of numbers greater than 1/2 when such numbers were converted to an Egyptian fraction series. The remaining number after subtracting one of these special fractions was written as a sum of distinct unit fractions according to the usual Egyptian fraction notation.

The Egyptians also used an alternative notation modified from the Old Kingdom to denote a special set of fractions of the form 1/2^{k} (for *k* = 1, 2, ..., 6) and sums of these numbers, which are necessarily dyadic rational numbers. These have been called "Horus-Eye fractions" after a theory (now discredited)[1] that they were based on the parts of the Eye of Horus symbol.
They were used in the Middle Kingdom in conjunction with the later notation for Egyptian fractions to subdivide a hekat, the primary ancient Egyptian volume measure for grain, bread, and other small quantities of volume, as described in the Akhmim Wooden Tablet. If any remainder was left after expressing a quantity in Eye of Horus fractions of a hekat, the remainder was written using the usual Egyptian fraction notation as multiples of a *ro*, a unit equal to 1/320 of a hekat.

### Calculation methods

Modern historians of mathematics have studied the Rhind papyrus and other ancient sources in an attempt to discover the methods the Egyptians used in calculating with Egyptian fractions. In particular, study in this area has concentrated on understanding the tables of expansions for numbers of the form 2/*n* in the Rhind papyrus. Although these expansions can generally be described as algebraic identities, the methods used by the Egyptians may not correspond directly to these identities. Additionally, the expansions in the table do not match any single identity; rather, different identities match the expansions for prime and for composite denominators, and more than one identity fits the numbers of each type:

- For small odd prime denominators
*p*, the expansion 2/*p*= 2/(*p*+ 1) + 2/*p*(*p*+ 1) was used. - For larger prime denominators, an expansion of the form 2/
*p*= 1/*A*+ (2*A*−*p*)/*Ap*was used, where*A*is a number with many divisors (such as a practical number) between*p*/2 and*p*. The remaining term (2*A*−*p*)/*Ap*was expanded by representing the number (2*A*−*p*)/*Ap*as a sum of divisors of*A*and forming a fraction*d*/*Ap*for each such divisor*d*in this sum.[2] As an example, Ahmes' expansion 1/24 + 1/111 + 1/296 for 2/37 fits this pattern with*A*= 24 and (2*A*−*p*)/*Ap*= 11 = 3 + 8, as 1/24 + 1/111 + 1/296 = 1/24 + 3/(24 × 37) + 8/(24 × 37). There may be many different expansions of this type for a given*p*; however, as K. S. Brown observed, the expansion chosen by the Egyptians was often the one that caused the largest denominator to be as small as possible, among all expansions fitting this pattern. - For composite denominators, factored as
*p*×*q*, one can expand 2/*pq*using the identity 2/*pq*= 1/*aq*+ 1/*apq*, where*a*= (*p*+1)/2. For instance, applying this method for*pq*= 21 gives*p*= 3,*q*= 7, and*a*= (3+1)/2 = 2, producing the expansion 2/21 = 1/14 + 1/42 from the Rhind papyrus. Some authors have preferred to write this expansion as 2/*A*×*A*/*pq*, where*A*=*p*+1;[3] replacing the second term of this product by*p*/*pq*+ 1/*pq*, applying the distributive law to the product, and simplifying leads to an expression equivalent to the first expansion described here. This method appears to have been used for many of the composite numbers in the Rhind papyrus,[4] but there are exceptions, notably 2/35, 2/91, and 2/95.[5] - One can also expand 2/
*pq*as 1/*pr*+ 1/*qr*, where*r*= (*p*+*q*)/2. For instance, Ahmes expands 2/35 = 1/30 + 1/42, where*p*= 5,*q*= 7, and*r*= (5+7)/2 = 6. Later scribes used a more general form of this expansion,*n*/*pq*= 1/*pr*+ 1/*qr*, where*r*=(*p*+*q*)/*n*, which works when*p*+*q*is a multiple of*n*.[6] - For some other composite denominators, the expansion for 2/
*pq*has the form of an expansion for 2/*q*with each denominator multiplied by*p*. For instance, 95=5×19, and 2/19 = 1/12 + 1/76 + 1/114 (as can be found using the method for primes with*A*= 12), so 2/95 = 1/(5×12) + 1/(5×76) + 1/(5×114) = 1/60 + 1/380 + 1/570.[6] This expression can be simplified as 1/380 + 1/570 = 1/228 but the Rhind papyrus uses the unsimplified form. - The final (prime) expansion in the Rhind papyrus, 2/101, does not fit any of these forms, but instead uses an expansion 2/
*p*= 1/*p*+ 1/2*p*+ 1/3*p*+ 1/6*p*that may be applied regardless of the value of*p*. That is, 2/101 = 1/101 + 1/202 + 1/303 + 1/606. A related expansion was also used in the Egyptian Mathematical Leather Roll for several cases.

## Later usage

*For more information on this subject, see*Liber Abaci*and Greedy algorithm for Egyptian fractions.*

Egyptian fraction notation continued to be used in Greek times and into the Middle Ages,[7] despite complaints as early as Ptolemy's Almagest about the clumsiness of the notation compared to alternatives such as the Babylonian base-60 notation. An important text of medieval mathematics, the *Liber Abaci* (1202) of Leonardo of Pisa (more commonly known as Fibonacci), provides some insight into the uses of Egyptian fractions in the Middle Ages, and introduces topics that continue to be important in modern mathematical study of these series.

The primary subject of the *Liber Abaci* is calculations involving decimal and vulgar fraction notation, which eventually replaced Egyptian fractions. Fibonacci himself used a complex notation for fractions involving a combination of a mixed radix notation with sums of fractions. Many of the calculations throughout Fibonacci's book involve numbers represented as Egyptian fractions, and one section of this book[8] provides a list of methods for conversion of vulgar fractions to Egyptian fractions. If the number is not already a unit fraction, the first method in this list is to attempt to split the numerator into a sum of divisors of the denominator; this is possible whenever the denominator is a practical number, and *Liber Abaci* includes tables of expansions of this type for the practical numbers 6, 8, 12, 20, 24, 60, and 100.

The next several methods involve algebraic identities such as For instance, Fibonacci represents the fraction by splitting the numerator into a sum of two numbers, each of which divides one plus the denominator: Fibonacci applies the algebraic identity above to each these two parts, producing the expansion Fibonacci describes similar methods for denominators that are two or three less than a number with many factors.

In the rare case that these other methods all fail, Fibonacci suggests a greedy algorithm for computing Egyptian fractions, in which one repeatedly chooses the unit fraction with the smallest denominator that is no larger than the remaining fraction to be expanded: that is, in more modern notation, we replace a fraction *x*/*y* by the expansion

where represents the ceiling function; since *(-y) mod x* < *x*, this method yields a finite expansion.

Fibonacci suggests switching to another method after the first such expansion, but he also gives examples in which this greedy expansion was iterated until a complete Egyptian fraction expansion was constructed: and

Compared to ancient Egyptian expansions or to more modern methods, this method may produce expansions that are quite long, with large denominators, and Fibonacci himself noted the awkwardness of the expansions produced by this method. For instance, the greedy method expands

while other methods lead to the shorter expansion

Sylvester's sequence 2, 3, 7, 43, 1807, ... can be viewed as generated by an infinite greedy expansion of this type for the number one, where at each step we choose the denominator instead of , and sometimes Fibonacci's greedy algorithm is attributed to Sylvester.

After his description of the greedy algorithm, Fibonacci suggests yet another method, expanding a fraction by searching for a number *c* having many divisors, with , replacing by , and expanding as a sum of divisors of , similar to the method proposed by Hultsch and Bruins to explain some of the expansions in the Rhind papyrus.

## Modern number theory

*For more information on this subject, see Erdős–Graham problem, Znám's problem, and Engel expansion.*

Although Egyptian fractions are no longer used in most practical applications of mathematics, modern number theorists have continued to study many different problems related to them. These include problems of bounding the length or maximum denominator in Egyptian fraction representations, finding expansions of certain special forms or in which the denominators are all of some special type, the termination of various methods for Egyptian fraction expansion, and showing that expansions exist for any sufficiently dense set of sufficiently smooth numbers.

- One of the earliest publications of Paul Erdős proved that it is not possible for a harmonic progression to form an Egyptian fraction representation of an integer. The reason is that, necessarily, at least one denominator of the progression will be divisible by a prime number that does not divide any other denominator.[9] The latest publication of Erdős, nearly 20 years after his death, proves that every integer has a representation in which all denominators are products of three primes.[10]
- The Erdős–Graham conjecture in combinatorial number theory states that, if the integers greater than 1 are partitioned into finitely many subsets, then one of the subsets has a subset of itself whose reciprocals sum to one. That is, for every
*r*> 0, and every*r*-coloring of the integers greater than one, there is a finite monochromatic subset*S*of these integers such that

- The conjecture was proven in 2003 by Ernest S. Croot, III.

- Znám's problem and primary pseudoperfect numbers are closely related to the existence of Egyptian fractions of the form

- For instance, the primary pseudoperfect number 1806 is the product of the prime numbers 2, 3, 7, and 43, and gives rise to the Egyptian fraction 1 = 1/2 + 1/3 + 1/7 + 1/43 + 1/1806.

- Egyptian fractions are normally defined as requiring all denominators to be distinct, but this requirement can be relaxed to allow repeated denominators. However, this relaxed form of Egyptian fractions does not allow for any number to be represented using fewer fractions, as any expansion with repeated fractions can be converted to an Egyptian fraction of equal or smaller length by repeated application of the replacement

- if
*k*is odd, or simply by replacing 1/*k*+1/*k*by 2/*k*if*k*is even. This result was first proven by Takenouchi (1921).

- Graham and Jewett[11] proved that it is similarly possible to convert expansions with repeated denominators to (longer) Egyptian fractions, via the replacement

- This method can lead to long expansions with large denominators, such as
- Botts (1967) had originally used this replacement technique to show that any rational number has Egyptian fraction representations with arbitrarily large minimum denominators.

- Any fraction
*x*/*y*has an Egyptian fraction representation in which the maximum denominator is bounded by[12]

- and a representation with at most
- terms.[13] The number of terms must sometimes be at least proportional to ; for instance this is true for the fractions in the sequence 1/2, 2/3, 6/7, 42/43, 1806/1807, ... whose denominators form Sylvester's sequence. It has been conjectured that terms are always enough.[14] It is also possible to find representations in which both the maximum denominator and the number of terms are small.[15]

- Graham (1964) characterized the numbers that can be represented by Egyptian fractions in which all denominators are
*n*th powers. In particular, a rational number*q*can be represented as an Egyptian fraction with square denominators if and only if*q*lies in one of the two half-open intervals

- Martin (1999) showed that any rational number has very dense expansions, using a constant fraction of the denominators up to
*N*for any sufficiently large*N*. - Engel expansion, sometimes called an
*Egyptian product*, is a form of Egyptian fraction expansion in which each denominator is a multiple of the previous one:

- In addition, the sequence of multipliers
*a*is required to be nondecreasing. Every rational number has a finite Engel expansion, while irrational numbers have an infinite Engel expansion._{i}

- Anshel & Goldfeld (1991) study numbers that have multiple distinct Egyptian fraction representations with the same number of terms and the same product of denominators; for instance, one of the examples they supply is

- Unlike the ancient Egyptians, they allow denominators to be repeated in these expansions. They apply their results for this problem to the characterization of free products of Abelian groups by a small number of numerical parameters: the rank of the commutator subgroup, the number of terms in the free product, and the product of the orders of the factors.

- The number of different
*n*-term Egyptian fraction representations of the number one is bounded above and below by double exponential functions of*n*.[16]

## Open problems

*For more information on this subject, see odd greedy expansion and Erdős–Straus conjecture.*

Some notable problems remain unsolved with regard to Egyptian fractions, despite considerable effort by mathematicians.

- The Erdős–Straus conjecture[14] concerns the length of the shortest expansion for a fraction of the form 4/
*n*. Does an expansion

- exist for every
*n*? It is known to be true for all*n*< 10^{14}, and for all but a vanishingly small fraction of possible values of*n*, but the general truth of the conjecture remains unknown.

- It is unknown whether an odd greedy expansion exists for every fraction with an odd denominator. If Fibonacci's greedy method is modified so that it always chooses the smallest possible
*odd*denominator, under what conditions does this modified algorithm produce a finite expansion? An obvious necessary condition is that the starting fraction*x*/*y*have an odd denominator*y*, and it is conjectured but not known that this is also a sufficient condition. It is known[17] that every*x*/*y*with odd*y*has an expansion into distinct odd unit fractions, constructed using a different method than the greedy algorithm. - It is possible to use brute-force search algorithms to find the Egyptian fraction representation of a given number with the fewest possible terms[18] or minimizing the largest denominator; however, such algorithms can be quite inefficient. The existence of polynomial time algorithms for these problems, or more generally the computational complexity of such problems, remains unknown.

Guy (2004) describes these problems in more detail and lists numerous additional open problems.

## Other application

Egyptian fractions provide a solution to the rope-burning timer puzzle, in which a given duration is to be measured by igniting non-uniform ropes which burn out after a set time, say, one hour. The time taken to fully burn a rope is linearly proportional to the number of flame fronts maintained on the rope. Any rational fraction of one hour can be timed by finding the equivalent Egyptian fraction expansion and sequentially burning ropes with the appropriate number of flame fronts for the fractions. The usual restriction that every fraction is different may be relaxed.[19]

For example, to time 40 minutes (2/3 hour), we can decompose 2/3 into 1/2 + 1/6. First, a one-hour rope is lit at both ends. When it burns out in 1/2 hour, another rope is lit at both ends and any two points in between, giving three segments, each with both ends burning. When any segment burns out, any point in a remaining segment is lit, splitting it into two segments, thus maintaining a total of six flame fronts. In theory, all segments burn out in 1/6 hour, giving a total of 2/3 hour as required.

## See also

## Notes

- Ritter (2002). See also Katz (2007) and Robson & Stedall (2009).
- Hultsch (1895); Bruins (1957)
- Gardner (2002).
- Gillings (1982); Gardner (2002)
- Knorr (1982).
- Eves (1953).
- Struik (1967).
- Sigler (2002), chapter II.7
- Erdős (1932); Graham (2013)
- Butler, Erdős & Graham (2015).
- See Wagon (1999) and Beeckmans (1993)
- Yokota (1988).
- Vose (1985).
- Erdős (1950).
- Tenenbaum & Yokota (1990).
- Konyagin (2014).
- Breusch (1954); Stewart (1954)
- Stewart (1992).
- Alan Graham,
*The Sum of You: Teach Yourself*p.130, Hodder Education, 2011

## References

- Anshel, Michael M.; Goldfeld, Dorian (1991), "Partitions, Egyptian fractions, and free products of finite abelian groups",
*Proceedings of the American Mathematical Society*,**111**(4): 889–899, doi:10.1090/S0002-9939-1991-1065083-1, MR 1065083. - Beeckmans, L. (1993), "The splitting algorithm for Egyptian fractions",
*Journal of Number Theory*,**43**(2): 173–185, doi:10.1006/jnth.1993.1015, MR 1207497. - Botts, Truman (1967), "A chain reaction process in number theory",
*Mathematics Magazine*,**40**(2): 55–65, doi:10.2307/2688508, JSTOR 2688508, MR 0209217. - Breusch, R. (1954), "A special case of Egyptian fractions, solution to advanced problem 4512",
*American Mathematical Monthly*,**61**: 200–201, doi:10.2307/2307234. - Bruins, Evert M. (1957), "Platon et la table égyptienne 2/
*n*" [Plato and the Egyptian 2/*n*table],*Janus*(in French),**46**: 253–263. - Butler, Steve; Erdős, Paul; Graham, Ron (2015), "Egyptian fractions with each denominator having three distinct prime divisors" (PDF),
*Integers*,**15**: Paper No. A51, 9, MR 3437526. - Erdős, P. (1932), "Egy Kürschák-féle elemi számelméleti tétel általánosítása" [Generalization of an elementary number-theoretic theorem of Kürschák] (PDF),
*Mat. Fiz. Lapok*(in Hungarian),**39**: 17–24. - Erdős, Pál (1950), "Az egyenlet egész számú megoldásairól" [On a Diophantine equation] (PDF),
*Matematikai Lapok*(in Hungarian),**1**: 192–210, MR 0043117. - Eves, Howard (1953),
*An Introduction to the History of Mathematics*, Holt, Reinhard, and Winston, ISBN 0-03-029558-0. - Gardner, Milo (2002), "The Egyptian Mathematical Leather Roll, attested short term and long term", in Gratton-Guinness, Ivor (ed.),
*History of the Mathematical Sciences*, Hindustan Book Co, pp. 119–134, ISBN 81-85931-45-3 - Gillings, Richard J. (1982),
*Mathematics in the Time of the Pharaohs*, Dover, p. 50, ISBN 978-0-486-24315-3. - Graham, R. L. (1964), "On finite sums of reciprocals of distinct
*n*th powers" (PDF),*Pacific Journal of Mathematics*,**14**(1): 85–92, doi:10.2140/pjm.1964.14.85, MR 0159788. - Graham, Ronald L. (2013), "Paul Erdős and Egyptian fractions" (PDF),
*Erdös centennial*, Bolyai Soc. Math. Stud.,**25**, János Bolyai Math. Soc., Budapest, pp. 289–309, doi:10.1007/978-3-642-39286-3_9, MR 3203600. - Guy, Richard K. (2004), "D11. Egyptian Fractions",
*Unsolved problems in number theory*(3rd ed.), Springer-Verlag, pp. 252–262, ISBN 978-0-387-20860-2. - Hultsch, Friedrich (1895), "Die Elemente der ägyptischen Theilungsrechnung: Erste Anhandlung",
*Abhandlungen der philologisch-historischen Classe der Königlich-Sächsischen Gesellschaft der Wissenschaften, Sächsische Akademie der Wissenschaften zu Leipzig Philologisch-Historische Klasse*(in German), Leipzig: S. Hirzel,**17**(1). - Katz, V., ed. (2007),
*The Mathematics of Egypt, Mesopotamia, China, India, and Islam: A Sourcebook*, Princeton: Princeton University Press. - Knorr, Wilbur R. (1982), "Techniques of fractions in ancient Egypt and Greece",
*Historia Mathematica*,**9**(2): 133–171, doi:10.1016/0315-0860(82)90001-5, MR 0662138. - Konyagin, S. V. (2014), "Double exponential lower bound for the number of representations of unity by Egyptian fractions",
*Mathematical Notes*,**95**(1–2): 277–281, doi:10.1134/S0001434614010295, MR 3267215. - Martin, G. (1999), "Dense Egyptian fractions",
*Transactions of the American Mathematical Society*,**351**(9): 3641–3657, arXiv:math/9804045, doi:10.1090/S0002-9947-99-02327-2, MR 1608486. - Ritter, Jim (2002), "Closing the Eye of Horus: the Rise and Fall of 'Horus-Eye Fractions'", in Steele, J.; Imhausen, A. (eds.),
*Under One Sky: Astronomy and Mathematics in the ancient Near East*, Münster: Ugarit-Verlag, pp. 297–323. - Robson, E.; Stedall, J., eds. (2009),
*The Oxford Handbook of the History of Mathematics*, Oxford: Oxford University Press. - Sigler, Laurence E. (trans.) (2002),
*Fibonacci's Liber Abaci*, Springer-Verlag, ISBN 0-387-95419-8 - Stewart, B. M. (1954), "Sums of distinct divisors",
*American Journal of Mathematics*,**76**(4): 779–785, doi:10.2307/2372651, JSTOR 2372651, MR 0064800. - Stewart, I. (1992), "The riddle of the vanishing camel",
*Scientific American*(June): 122–124. - Struik, Dirk J. (1967),
*A Concise History of Mathematics*, Dover, pp. 20–25, ISBN 0-486-60255-9. - Takenouchi, T. (1921), "On an indeterminate equation",
*Proceedings of the Physico-Mathematical Society of Japan*, 3rd ser.,**3**(6): 78–92, doi:10.11429/ppmsj1919.3.6_78. - Tenenbaum, G.; Yokota, H. (1990), "Length and denominators of Egyptian fractions",
*Journal of Number Theory*,**35**(2): 150–156, doi:10.1016/0022-314X(90)90109-5, MR 1057319. - Vose, M. (1985), "Egyptian fractions",
*Bulletin of the London Mathematical Society*,**17**: 21, doi:10.1112/blms/17.1.21, MR 0766441. - Wagon, Stan (1999),
*Mathematica in Action*, Springer, pp. 321–329, ISBN 0-387-98684-7. - Yokota, Hisashi (1988), "On a problem of Bleicher and Erdős",
*Journal of Number Theory*,**30**(2): 198–207, doi:10.1016/0022-314X(88)90017-0, MR 0961916.

## External links

- Brown, Kevin,
*Egyptian Unit Fractions*. - Eppstein, David,
*Egyptian Fractions*. - Knott, Ron,
*Egyptian fractions*. - Weisstein, Eric W. "Egyptian Fraction".
*MathWorld*. - Giroux, André,
*Egyptian Fractions*and Zeleny, Enrique,*Algorithms for Egyptian Fractions*, The Wolfram Demonstrations Project, based on programs by David Eppstein.