LCM of 1 to n by kt3k

while 1:i=n=1;exec"c=n;j=i\nwhile j:c,j=j,c%j\nn*=i/c;i+=1;"*input();print n

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

download

return top