Sum of Divisors for OCaml Golf Competition by nn

{for(s=i=0;i++<v=$1/i;)$1%i||s+=i<v?i+v:i}$0=$1": "s

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

download

return to the top page