How to Use
Enter fraction a/b:
- a: Numerator
- b: Denominator
- Result: Sum of unit fractions
Greedy Algorithm
For a/b: find smallest d with 1/d ≤ a/b (d = ⌈b/a⌉). Subtract: a/b − 1/d = (ad−b)/(bd). Repeat with new fraction. The Erdős-Straus conjecture: 4/n = 1/x+1/y+1/z always has a solution.
History
Rhind Papyrus (1650 BCE) contains an Egyptian fraction table. Egyptians used unit fractions exclusively (plus 2/3). The greedy algorithm was described by Fibonacci (1202) and Sylvester (1880).
Step-by-Step Instructions
- 1Enter numerator.
- 2Enter denominator.
- 3View decomposition.
- 4Check verification.
- 5See steps.