happy number by murky-satyr

for(n=0;++n<2e3;s-1||print(n))for(s=n;t=s>6;s=1-t)for each(c in''+s)t-=c*c

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

download

return to the top page