Menu

#2155 Apparently wrong limit with factorial

closed
nobody
None
5
2011-03-05
2011-03-03
Anonymous
No

As reported at http://trac.sagemath.org/sage_trac/ticket/10868

This is correct:
(%i3) limit(2+1/factorial(n),n,inf);
(%o3) 2

This does not seem to be:
(%i4) limit(1/(2+1/factorial(n)),n,inf);
(%o4) 1

This happens in both of the following.
-------------------------------------------------------------

Maxima version: 5.23.2
Maxima build date: 9:43 3/3/2011
Host type: i686-apple-darwin10.6.0
Lisp implementation type: SBCL
Lisp implementation version: 1.0.24

-------------------------------------------------------------

Maxima version: 5.22.1
Maxima build date: 9:38 3/1/2011
Host type: i686-apple-darwin10.6.0
Lisp implementation type: ECL
Lisp implementation version: 10.4.1

Discussion

  • Dan Gildea

    Dan Gildea - 2011-03-05

    Fixed in limit.lisp rev 1.106.

     
  • Dan Gildea

    Dan Gildea - 2011-03-05
    • status: open --> closed
     

Log in to post a comment.