Egyptian fractions
stephaneplancke (0)

This algorithm decomposes a fraction which is less than one as a sum of unit fractions.

You are viewing a single comment. View All
stephaneplancke (0)

@ChezCoder Hi! The function "fraction(p,q)" is actually used in the definition of the fraction(p,q) in a recursive way, so it needs to be indented the way I did.