1 | initial version |
Expand the traceback. You'll see that "assume ... may help" (or words to that effect). Indeed:
from sage.calculus.calculus import symbolic_sum
n = var('n')
var('x'); assume(x==0)
print 1/(1 + symbolic_sum(factorial(n) * x^n, n, 1, oo))
gives the answer you got in 7.4:
1/(x*hypergeometric((1, 2), (), x) + 1)
However, if we assume (x>0) or assume (x<0), we get "Sum divergent".
2 | No.2 Revision |
Expand the traceback. You'll see that "assume ... may help" (or words to that effect). Indeed:
from sage.calculus.calculus import symbolic_sum
n = var('n')
var('x'); assume(x==0)
print 1/(1 + symbolic_sum(factorial(n) * x^n, n, 1, oo))
gives the answer you got in 7.4:
1/(x*hypergeometric((1, 2), (), x) + 1)
However, if we assume (x>0) or assume (x<0), we get "Sum divergent".
The short answer: Maxima was up-rev'd with sage-8.0 to maxima-5.39.0 and may exhibit different behavior from previous versions.