Egyptian Fraction Calculator
Enter a fraction to write it as unit fractions.
Try
Result
You entered
Number of terms
Show the work
Greedy algorithm
An Egyptian fraction is a sum of different unit fractions (fractions with 1 on top). Greedy method: take the largest unit fraction that does not go over what is left, which has denominator for the remainder , subtract it, and repeat until nothing is left. Start with .
Using
Greedy algorithm, round 2
Apply the same rule to what is left.
Greedy algorithm, round 3
Apply the same rule to what is left.
Check by adding back
Add the unit fractions; they must give the original fraction exactly.
Result
So .