196 algorithm by Roy van Rijn

class h{public static void main(String[]a){for(int i=0;i++<195;){long r=0,n=i,o=i;for(;o!=r;){o=n=o+r;r=0;for(;n>0;n/=10)r=r*10+n%10;}System.out.println(r);}}}

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

download

return to the top page