x=QQ['x'].0 print bernoulli_polynomial(x, 5) The above code gives me x^5-5*x^4/2+5*x^3/3-x/6. I want to simplify it to x*(x*x*(x*(x-5/2)+5/3)-1/6). Is there a way to do so?
-- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org