Egyptian fraction by leonid

#!ruby -plaF/
y=eval"x="+$F*$/
x,y=-y%x,y*d=0--y/x,$_+=" + 1/#{d}"while x>0
sub'+','='

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page