Egyptian fraction by clock

for(;125>i++;){print(a=read()),"/",b=read()," = "
for(scale=0;a;b*=c){print(1),"/",c=1+(b-1)/a
if(a=a*c-b)" + "}
"
"}

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

download

return to the top page