i;main(j,m){for(;++i<2e3;j<2&&printf("%d\n",i))for(j=i;j>4;j=m)for(m=0;j;j/=10)m+=j%10*(j%10);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page