let rec($)i?(n=read_int())s=2*i>n&(Printf.printf"%d: %d "n(s+n);2$1);($)~n(i+1)(s+n/i*i/n*i);;2$1
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page