Totient by *yuko*

1 read*,k;n=k;do i=2,k**.5;j=n/i;do while(mod(k,i)<1);n=n-j;j=0;k=k/i;enddo;enddo;print'(i0)',n-n/k+1/k*n;goto1;end

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

download

return to the top page