196 algorithm by tttaki

r=reverse.show
l x=if show x==r x then(r x)else l(x+(read$r x))
main=mapM putStrLn[l n|n<-[1..195]]

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

download

return to the top page