#Maple code, using the Greedy algorithm for converting a faction x into an Egyptian fraction: The output is the list of members in the expressin. For example, try: EF(11/17); EF:=proc(x) if op(1, x) = 1 then RETURN([x]); else [1/ceil(1/x), op(EF(x - 1/ceil(1/x)))]; fi:end: