Math

Egyptian Fractions Calculator

Express a fraction as a sum of distinct unit fractions.

Parameters Live Compute
Calculated Output
Unit-fraction sum 1/2 + 1/3
Number of terms 2
Formula: Greedy algorithm: subtract the largest possible 1/n each step
Step-by-Step Breakdown
1. Values used:
2. Numerator = 5
3. Denominator = 6
4.
5. Unit-fraction sum = 1/2 + 1/3
6. Number of terms = 2
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

Ancient Egyptians wrote every fraction as a sum of distinct unit fractions (1/n).

The math behind it

Fibonacci's greedy algorithm repeatedly subtracts the largest unit fraction not exceeding the remaining value, guaranteeing a finite expansion.

Worked Example

5/6 = 1/2 + 1/3.

Frequently Asked Questions

Is the expansion unique?

No — a fraction can have several Egyptian representations; the greedy method gives one of them.

Advertisement