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.
1 | initial version |
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.