埃及分数

F=A/B

D=B/A

K=B%A

C=D+1

1/C

A=A*C-B

B=B*C

if B>1and A%B=0or A=1

1/(B/A)

原文地址:https://www.cnblogs.com/a863886199/p/10216479.html