happy number by murky-satyr

2e3.times{for(s=it;s>6;)s="$s"*.toLong().sum{it**2};s-1||println(it)}

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

download

return to the top page