>>> polylog(2,-1)/polylog(2,1) 1/2 >>> polylog(4,-1)/polylog(4,1) 7/8 >>> polylog(6,-1)/polylog(6,1) 31/32
Everybody knows that these ratios are -1/2, -7/8, -31/32, ... >>> polylog(3,-1) dirichlet_eta(3) >>> polylog(5,-1) dirichlet_eta(5) Not very useful. Everybody knows that polylog(n,-1)/polylog(n,1) = 2**(1-n) - 1 so that dirichlet_eta(n) = (2**(1-n)-1)*zeta(n) By the way, >>> dirichlet_eta(2) pi**2/12 >>> dirichlet_eta(4) 7*pi**4/720 are again wrong - they should be negative. Also, why does >>> Sum((-1)**n/n**2,(n,1,oo)).doit() polylog(2, exp_polar(I*pi)) contain this funny exp_polar? Of course, I can do >>> _.subs(exp_polar,exp) pi**2/12 (and obtain a wrong answer!), but why do I have to do this? -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/1aaeb02d-7590-4515-92b6-d84bc4ccbeb1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
