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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.