196 algorithm by kt3k

1.upto(t=?\xc3){|s|s+=t while s!=t=s.to_s.reverse.to_i;p s}

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

download

return to the top page