Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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-2z^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.