egyptian_complete(6, 7) # 1/2 + 1/3 + 1/42
egyptian_complete(8, 11) # no solution with 2 or 3 fractions
# TODO
# 2/9 = 1/9 + 1/10 + 1/90 # is not recognized, as similar cases,
# because 1/n is not considered in m/n.
Run the code above in your browser using DataLab