happy number by uru

$$.times{|i|n=i;$:.map{n=eval n.to_s.gsub /./,'+\&**2'};n==1&&p(i)}

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

download

return top