196 algorithm by teebee

string s;for(int i,p;++i<196;write(p))for(p=i;(s=string(p))!=(s=reverse(s));)p+=(int)s;

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

download

return to the top page