class M{static void Main(){for(int i=99999,j=0,k;j++>0||++i<1e6;j%=9)if(i%j+(k=i/j-j*100)%1001<1&k<1e5)System.Console.WriteLine(i);}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page