Practical Numbers by tanakh

#import<ios>
int s,i,n=1;main(){for(;i>s?s=i=i>n&&printf("%d\n",n),++n<501:1;s+=n%++i?0:i);}

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

download

return to the top page