totient function by not(murky-satyr)

i,j,r;main(n){for(;i<301;printf("%d\n",r))for(r=n=1e4+i++,j=2;n%j?j++<n:(n/=j)%j?r-=r/j:1;);}

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

download

return top