FRACTRAN fixed by leonid

v'F='+gt./*?,
n=v gt
201.e{p n
-F.es(2).fx{|x,y|n%y<1&&n=n*x/y}}

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

download

return to the top page