196 algorithm by 51b

import std.metastrings;template r(long x,long y){static if(x>99)const r=r!(x/10,y*10+x%10);else const r=x>9?y*100+x/10+x%10*10:y*10+x;}template e(long x){static if(x-187&&x-r!(x,0))const e=e!(x+r!(x,0));else const e=x-187?x:8813200023188;}template l(int n){static if(n)const l=l!(n-1)~Format!(e!(n))~\n;else const l="";}pragma(msg,l!(195));

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

download

return to the top page