# Summing with Euler_phi Error

New to sage, having some trouble with summation.

z, k both declared as variables.

sum((euler_phi(k)/k)*log(1/(1-2*z^k)),k,2,5)

Error: not an integer argument in an arithmetic function (18) If I change it to euler_phi(5)/5 it's fine.

add a comment