Practical Numbers by nn

501.times{for(i=s=1;i++<=s;)s+=it%i?0:i;s<it||println(it)}

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

download

return to the top page