Arithmetic derivative by hallvabo

for e in input().split():
 try:
  m=n=int(e);d=0;p=2
  while p*p<=n*n:r=m%p<1;p+=1-r;m//=p**r;d+=n//p*r
 except:d="Wait, that's not a number..."
 print(d)

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page