happy number by yamaya

for((;++i<2000;));{
eval "for((j=$i;j>4;j=$"[ +\${j:{0..3}:1}**2 ']));{ j+=000;};[ $j = 1 ]&&echo '$i
}

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

download

return to the top page