Arithmetic derivative by albanian_laundromat

k = input().split()
for i in k:
    try:i=int(i)
    except:print("Wait, that's not a number...");continue
    j=abs(i);r=0;p=2
    if j:
        while j-1:
            while j%p==0:j//=p;r+=i//p
            p+=1
    print(r)

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