happy number by kaki

2000.times{|i|_=i;_=eval"#{_}".gsub /./,'+\&*\&'while _>9;_%6==1&&p(i)}

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

download

return to the top page